- Issue created by @William_Kan
I am using Social Blue as the base theme for my custom theme. I would like for some roles other than admin (e.g. content manager, publisher) to use the custom theme for moderation pages so they can have a similar UX to the client-facing pages.
When that role navigates to /admin/content (or /admin/content/comment), the secondary navigation tabs are obscured from view. Please see screenshots: 'Secondary navtabs obscured on admin page with custom theme.png', 'Secondary navtabs for gin admin theme.png'.
I believe the secondary tabs could be shown by removing the fixed height set on the div with class of "navbar-scrollable" of 44px. This div is the parent container to the Primary and Secondary Tabs H2 tags as well as the ul tags for the actual links/tabs. Please take a look at screenshot 'remove fixed height solution.png'
But curious to know what was the intention on setting it to an absolute value? I don't find that the navbar scrolls down say, if you have a lot of content below, I checked higher up the DOM and the elements appear to be set position: relative?
MR to update the following file:
In the repo: https://git.drupalcode.org/project/socialblue/-/blob/2.6.x/components/03...
/themes/contrib/socialblue/components/03-molecules/navigation/navbar/navbar--sky.scss
Line 41: remove height: 44px;
recompile Scss
Active
2.5
User interface