Safari button nav overlaps amp-sidebar
See original GitHub issueTo fix safari bottom navigation bar from overlapping my amp-sidebar I have added the following css:
amp-sidebar {
mas-height: 100%!important;
}
i.e. I changed vh to %, and it works fine. but the amp-validation fails because it does not allow !important in css.
According to amp-sidebar css source, the max-height property is set to max-height: 100vh!important;
.
My question is:
- How am I supposed to change the amp-sidebar’s max-height property without having validation errors?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Sidebar and navbar overlapping - Stack Overflow
use Z-index to just make the navbar be behind the sidebar. (will make the menu button seem out of place (but can use...
Read more >Text overlap? Button placement? Problem w…
Whenever I go to my hotmail email account the text overlaps? Somtimes it doesn't stay in its cell and the buttons will be...
Read more >Bootstrap 4 Safari Images and text overlap - Stack Overflow
The image and the text of the columns overlap. Maybe the height of the image is wrong or the image does not resize...
Read more >Neve - Store ThemeIsle
Starter content hero image; Upside down menu caret in Safari; Customizer search ... Active buttons from the editor sidebar overlapping the panel heading ......
Read more >readme.txt - Sundeep Furniture Ltd.
A fully AMP optimized and responsive theme, Neve will load in mere ... to close button inside mobile nav menu to prevent the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dryleaf It is not possible as it stands (
!important
) is banned in AMP, as a workaround, you can have a separatediv
in you sidebar that has a smaller height.I consider Safari bottom nav overlapping sidebar to be a bug for us to fix, therefore I am renaming this issue.
Thanks for fixing this.