fix(ui): make sure three columns of rewards are displayed + fix rewards top margin when no custom reward exists (#12257)

This commit is contained in:
Matteo Pagliazzi
2020-06-01 17:35:52 +02:00
committed by GitHub
parent 3a4abac8b0
commit ce4bbe5552

View File

@@ -80,6 +80,7 @@
<draggable
ref="tasksList"
class="sortable-tasks"
v-if="taskList.length > 0"
:options="{disabled: activeFilter.label === 'scheduled' || !isUser, scrollSensitivity: 64}"
:delay-on-touch-only="true"
:delay="100"
@@ -168,7 +169,7 @@
@supports (display: grid) {
display: grid;
justify-content: center;
grid-column-gap: 16px;
grid-column-gap: 10px;
grid-row-gap: 4px;
grid-template-columns: repeat(auto-fill, 94px);
}
@@ -177,7 +178,7 @@
display: flex;
flex-wrap: wrap;
& > div {
margin: 0 16px 4px 0;
margin: 0 10px 4px 0;
}
}
}