[Glitch] Fix floating action button obscuring last element

Port 82dcdc12f1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2022-05-06 21:40:49 +02:00
parent 6f69b831d6
commit c8edaaba1b
2 changed files with 5 additions and 1 deletions

View file

@ -234,7 +234,7 @@ class ColumnsArea extends ImmutablePureComponent {
</div> </div>
</div> </div>
<div className='columns-area__panels__main'> <div className={`columns-area__panels__main ${floatingActionButton && 'with-fab'}`}>
{!navbarUnder && <TabsBar key='tabs' />} {!navbarUnder && <TabsBar key='tabs' />}
{content} {content}
{navbarUnder && <TabsBar key='tabs' />} {navbarUnder && <TabsBar key='tabs' />}

View file

@ -233,6 +233,10 @@
.columns-area__panels__pane--compositional { .columns-area__panels__pane--compositional {
display: none; display: none;
} }
.with-fab .scrollable .item-list:last-child {
padding-bottom: 5.25rem;
}
} }
@media screen and (min-width: 600px + (285px * 1) + (10px * 1)) { @media screen and (min-width: 600px + (285px * 1) + (10px * 1)) {