diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-08-09 21:10:37 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-08-09 21:10:37 -0400 |
commit | 15e7bcacbe7519e008808fdb153ce6f7e182b0b0 (patch) | |
tree | 3c7b0375df2f252c43f5bf6f404ef6fe414281e0 /panel.css | |
parent | c1ed25fe3502ca2665211e66df97fa1f6b87c6b2 (diff) | |
download | web-15e7bcacbe7519e008808fdb153ce6f7e182b0b0.tar.xz |
Fix footer when content is expanded. Use consistent selector for footer.
Diffstat (limited to 'panel.css')
-rw-r--r-- | panel.css | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -67,17 +67,21 @@ left:-15em; display: none; padding: 1em; } -#footer,div.footer{ +div.footer{ position:fixed; bottom:0; left:16em; padding-bottom:0.5em; width:calc(100% - 16em); } +#content.expanded + div.footer{ + left:1em; + width:calc(100% - 1em); +} @media (max-width:768px) { #panel{left:-15em;} #content{margin-left:1em;} - #footer,div.footer{width:calc(100% - 1em);left:1em;} + div.footer{width:calc(100% - 1em);left:1em;} #panel li a#paneltoggle{display:none;} } |