mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-20 13:28:13 +03:00
d2c775b0ca
Currently, the feel of scrolling containers in the Inspector is a bit awkward. We make the entire split-view container scrollable, then we absolutely position the tab control buttons to force them to not scroll. The result is that the scroll bar is painted over the tab controls, and the tab content that we actually want to scroll has to scroll under the tab controls. This never looked quite right. It was basically: <div tab-container> <!-- Scrollable --> <div tab-controls /> <!-- Pinned to not be scrollable --> <div tab-content /> <!-- The part we actually want to scroll --> </div> This patch moves the "scrollability" to just the tab content. We then don't need to go out of our way to ensure only the content is actually scrollable. So we now have: <div tab-container> <!-- Not scrollable --> <div tab-controls /> <!-- Not pinned, uses normal layout --> <div tab-content /> <!-- Scrollable --> </div> |
||
---|---|---|
.. | ||
res |