Merge pull request #5861 from nextcloud/fix/move-style-overrides-to-sfc

fix: move global sidebar style overrides to sfc
This commit is contained in:
Richard Steinmetz 2024-03-20 10:21:53 +01:00 committed by GitHub
commit 1f222021fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 34 deletions

View File

@ -23,37 +23,6 @@
.app-sidebar,
.event-popover .event-popover__inner {
.app-sidebar-header__figure {
height: unset !important;
}
.app-sidebar-header__action {
margin-top: 0 !important;
max-height: none !important;
flex-wrap: wrap;
div {
flex-shrink: 0;
}
}
.app-sidebar-header__desc {
// We use our custom header layout for the sidebar editor
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
// But keep the three-dot menu in the front
.app-sidebar-header__menu {
z-index: 1;
}
}
.app-sidebar-header__description {
// Close button should be aligned with calendar picker (header)
padding-top: 5px;
}
.editor-invitee-list-empty-message,
.editor-reminders-list-empty-message,
.editor-invitee-list-no-email-configured-message {

View File

@ -683,13 +683,41 @@ export default {
height: auto;
border-radius: var(--border-radius);
}
:deep(.app-sidebar-header__description) {
flex-direction: column;
}
.property-location {
margin-top: 10px;
}
.property-description {
margin-bottom: 10px;
}
:deep {
.app-sidebar-header__action {
margin-top: 0 !important;
max-height: none !important;
flex-wrap: wrap;
div {
flex-shrink: 0;
}
}
.app-sidebar-header__desc {
// We use our custom header layout for the sidebar editor
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
// But keep the three-dot menu in the front
.app-sidebar-header__menu {
z-index: 1;
}
}
.app-sidebar-header__description {
flex-direction: column;
// Close button should be aligned with calendar picker (header)
padding-top: 5px;
}
}
</style>