mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Client Tasks Length (#9101)
* change tasks column height * stack columns on smaller screens
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
@import '~client/assets/scss/colors.scss';
|
@import '~client/assets/scss/colors.scss';
|
||||||
|
|
||||||
.tasks-column {
|
.tasks-column {
|
||||||
height: 556px;
|
min-height: 556px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-wrapper + .reward-items {
|
.task-wrapper + .reward-items {
|
||||||
@@ -60,11 +60,9 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: $gray-600;
|
background: $gray-600;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
// not sure why but this is necessary or the last task will overflow the container
|
position: relative; // needed for the .bottom-gradient to be position: absolute
|
||||||
padding-bottom: 0.1px;
|
height: calc(100% - 56px);
|
||||||
position: relative;
|
padding-bottom: 30px;
|
||||||
height: calc(100% - 64px);
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-gradient {
|
.bottom-gradient {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
span.text {{$t(type)}}
|
span.text {{$t(type)}}
|
||||||
|
|
||||||
.row.tasks-columns
|
.row.tasks-columns
|
||||||
task-column.col-3(
|
task-column.col-lg-3.col-md-6(
|
||||||
v-for="column in columns",
|
v-for="column in columns",
|
||||||
:type="column", :key="column",
|
:type="column", :key="column",
|
||||||
:isUser="true", :searchText="searchTextThrottled",
|
:isUser="true", :searchText="searchTextThrottled",
|
||||||
|
|||||||
Reference in New Issue
Block a user