1
0

Make task list, teams and settings pages max width of $desktop and centered

This commit is contained in:
kolaente
2020-07-03 19:37:20 +02:00
parent 6a2380ea30
commit 3c6c5ff845
10 changed files with 15 additions and 11 deletions

View File

@ -15,7 +15,7 @@
flex-flow: row wrap;
.image {
width: calc(100% / 6 - 1em);
width: calc(100% / 5 - 1em);
height: 120px;
margin: .5em;
background-size: cover;
@ -23,7 +23,7 @@
display: flex;
@media screen and (min-width: $desktop) {
&:nth-child(6n) {
&:nth-child(5n) {
page-break-after: always; // CSS 2.1 syntax
break-after: always; // New syntax
}

View File

@ -2,7 +2,6 @@
margin-top: 1rem;
padding: 0;
text-align: left;
max-width: 80vw;
@media screen and (min-width: $tablet) {
&.short {
@ -149,4 +148,3 @@
}
}
}