Fix list title on mobile
This commit is contained in:
parent
7065b52053
commit
cd98b41bec
5 changed files with 28 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue