feat: more horizontal space on mobile
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
By adding less outer padding we keep more screen space. This is important especially for small screens. I assumed that in the task view the background of the list is not _that_ important
This commit is contained in:
parent
0350e37fbb
commit
4c03adb6e2
|
@ -159,27 +159,20 @@ labelStore.loadAllLabels()
|
||||||
.app-content {
|
.app-content {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 1rem;
|
padding: 1.5rem 0.5rem 1rem;
|
||||||
|
|
||||||
@media screen {
|
|
||||||
padding: $navbar-height + 1.5rem 1.5rem 1rem 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
@media screen and (max-width: $tablet) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-top: 1.5rem;
|
|
||||||
min-height: calc(100vh - 4rem);
|
min-height: calc(100vh - 4rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: $tablet) {
|
||||||
@media screen {
|
padding: $navbar-height + 1.5rem 1.5rem 1rem 1.5rem;
|
||||||
&.is-menu-enabled {
|
|
||||||
margin-left: $navbar-width;
|
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
|
||||||
min-width: 100%;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.is-menu-enabled {
|
||||||
|
@media screen and (min-width: $tablet) {
|
||||||
|
margin-left: $navbar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,10 @@
|
||||||
|
|
||||||
.task-view {
|
.task-view {
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
margin: 0 1rem;
|
|
||||||
|
@media screen and (min-width: $tablet) {
|
||||||
|
margin-inline: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.kanban .tasks {
|
.kanban .tasks {
|
||||||
|
|
|
@ -810,8 +810,8 @@ async function setPercentDone(percentDone: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-view {
|
.task-view {
|
||||||
padding: 1rem;
|
padding-top: 1rem;
|
||||||
padding-bottom: 0;
|
padding-inline: .5rem;
|
||||||
background-color: var(--site-background);
|
background-color: var(--site-background);
|
||||||
|
|
||||||
@media screen and (min-width: $desktop) {
|
@media screen and (min-width: $desktop) {
|
||||||
|
|
Reference in New Issue
Block a user