1
0

Fix list title on mobile

This commit is contained in:
kolaente
2020-06-12 19:32:37 +02:00
parent 7065b52053
commit cd98b41bec
5 changed files with 28 additions and 22 deletions

View File

@ -40,6 +40,12 @@
.list-title {
display: flex;
align-items: center;
justify-content: center;
@media screen and (max-width: $tablet) {
// We need a fixed width for overflowing ellipsis to work
width: calc(100vw - #{$user-dropdown-width-mobile} - #{2 * $hamburger-menu-icon-spacing} - #{$hamburger-menu-icon-width} - 1rem); // -1rem for the edit icon
}
h1 {
margin: 0;