Add more space between the bottom of the layout and sticky footer
See original GitHub issueIs your proposal related to a problem?
When using the admin editing interface on mobile or desktop devices it is hard to reach the buttons at the end of a page as they are so close to the main page actions.
Describe the solution you’d like
Just add some margin to the bottom so the last editing fields do not stick to the bottom edge of the screen.
This applies to all admin views, so this should be added in the basic layout file.
Describe alternatives you’ve considered
None
Additional context
- Using safari on iPhone
- It is a problem on all devices
Adding padding-bottom: 10rem;
to .content
appears to be close - but check if that fixes the problem on various device sizes without being too large.
Note the larger ‘purple’ padding block and the highlighted added CSS.
Issue Analytics
- State:
- Created a year ago
- Comments:34 (27 by maintainers)
Top Results From Across the Web
How do you get the footer to stay at the bottom of a Web page?
Probably the most obvious and non-hacky way to go about a sticky footer would be to make use of the new css viewport...
Read more >Sticky Footer, Five Ways | CSS-Tricks
It's that bottom margin plus the height of the footer that need to be added together to subtract from the viewport height. And...
Read more >Sticky footers - CSS: Cascading Style Sheets - MDN Web Docs
A sticky footer pattern is one where the footer of your page "sticks" to the bottom of the viewport in cases where the...
Read more >HOW to keep your FOOTER at the bottom of the page with CSS
Well, in this CSS sticky footer tutorial, I'll show you how to prevent that issue! Created by Gregg Fine. Download my FREE "Google...
Read more >Sticky Footer — Solved by Flexbox — Cleaner, hack-free CSS
While mostly known for laying out content in the horizontal direction, Flexbox actually works just as well for vertical layout problems. All you...
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 FreeTop 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
Top GitHub Comments
Safari
https://user-images.githubusercontent.com/77102111/197854555-e1f1938f-da7f-4ca3-b1e3-7cf76d9ff539.mp4
Chrome
https://user-images.githubusercontent.com/77102111/197859471-9892f803-ce95-4ea8-8eef-35c2d8031b8a.mp4
Firefox
https://user-images.githubusercontent.com/77102111/197859574-d174eca7-a7ee-48a4-949b-405a22c101d3.mp4
Hi folks, no need for you to ask – just show us you understand the problem, explain what you intend to do, and you can get going with making a pull request. It’s better if only one person works on a given problem at a time, so this is normally first-come-first-served.