Skip to content

Commit

Permalink
Squash spacelist on sidebar open
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jan 18, 2023
1 parent e67f1f8 commit 66b416c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,21 @@ export default defineComponent({
.oc-table-data-cell-usedQuota {
display: none;
@media only screen and (min-width: 1700px) {
@media only screen and (min-width: 1600px) {
display: table-cell;
}
}
&-squashed {
.oc-table-header-cell-totalQuota,
.oc-table-data-cell-totalQuota,
.oc-table-header-cell-availableQuota,
.oc-table-data-cell-availableQuota,
.oc-table-header-cell-usedQuota,
.oc-table-data-cell-usedQuota,
.oc-table-header-cell-remainingQuota,
.oc-table-data-cell-remainingQuota {
display: none;
}
}
}
</style>
1 change: 1 addition & 0 deletions packages/web-app-admin-settings/src/views/Spaces.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<div v-else>
<SpacesList
:spaces="spaces"
:class="{ 'spaces-table-squashed': sideBarOpen }"
:selected-spaces="selectedSpaces"
:header-position="listHeaderPosition"
@toggleSelectSpace="toggleSelectSpace"
Expand Down

0 comments on commit 66b416c

Please sign in to comment.