Add variable for add extensions overlap

This commit is contained in:
David Langley
2025-04-16 08:54:13 +01:00
parent f0e9497102
commit a3eaf2f15e

View File

@@ -8,6 +8,7 @@ Please see LICENSE files in the repository root for full details.
.mx_ExtensionsCard {
--cpd-separator-spacing: var(--cpd-space-6x);
--AddExtension-overlap: -76px;
.mx_AutoHideScrollbar {
padding: 0 var(--cpd-space-4x);
margin-top: var(--cpd-space-6x);
@@ -126,11 +127,11 @@ Please see LICENSE files in the repository root for full details.
.mx_EmptyState::before {
/* Overlap the Add extensions button */
top: -76px;
top: var(--AddExtension-overlap);
}
.mx_EmptyState {
/* Stop empty state scrolling */
height: calc(100% - 76px);
height: calc(100% + var(--AddExtension-overlap));
}
}