zregvart commented on pull request #398:
URL: https://github.com/apache/camel-website/pull/398#issuecomment-650085261


   > I don't realize what part is complex yet as I now use only one input and 
make use of flex box and everything else is css based on the breakpoint?
   
   The complexity I see is from adding conditionals to the navigation panel 
rendering the components reference and that a lot of positioning seems to be 
done by finding the values and putting them in, rather than deriving them from 
variables/using `calc`. What I see as a problem is that if we change, say the 
height of the navbar, this positioning needs to be recalculated again. There's 
also the element that was added to ensure the break on smaller screens, I'm not 
sure that it's needed. Using flex layout with `float`. Overall if you look at 
the changes here and the outcome from those it seems like a lot of changes for 
not that many changes in the output. I think if we were to redo this knowing 
the principles that are needed for this change, carefully adding/changing only 
the CSS that needs to be changed, we'd end up with 33%-50% of the CSS we have 
now.
   
   Anyhow don't let that discourage you, this is excellent work, keep polishing 
this, we can use a lot of it and hopefully merge it soon.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to