Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci] Squash spacelist on sidebar open #8262

Merged
merged 5 commits into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ https://github.com/owncloud/web/pull/8238
https://github.com/owncloud/web/pull/8234
https://github.com/owncloud/web/pull/8249
https://github.com/owncloud/web/pull/8230
https://github.com/owncloud/web/pull/8262
https://github.com/owncloud/web/issues/8219
Original file line number Diff line number Diff line change
Expand Up @@ -469,15 +469,32 @@ export default defineComponent({
}
.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 {
display: none;

@media only screen and (min-width: 1700px) {
@media only screen and (min-width: 1600px) {
display: table-cell;
}
}
&-squashed {
.oc-table-header-cell-manager,
.oc-table-data-cell-manager,
.oc-table-header-cell-totalQuota,
.oc-table-data-cell-totalQuota,
.oc-table-header-cell-usedQuota,
.oc-table-data-cell-usedQuota {
display: none;
}
.oc-table-header-cell-remainingQuota,
.oc-table-data-cell-remainingQuota,
.oc-table-header-cell-mdate,
.oc-table-data-cell-mdate {
display: none;
@media only screen and (min-width: 1400px) {
display: table-cell;
}
}
}
}
</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