styling fixes:
- fixes padding-top on property layout for all but first item - fixes whitespace below workspace layout element - fixes cotent tab background color - sets first content tab to active on load
This commit is contained in:
@@ -15,6 +15,7 @@ export class UmbDocumentWorkspaceViewEditElement extends UmbLitElement {
|
|||||||
css`
|
css`
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
|
--uui-tab-background: var(--uui-color-surface);
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
@@ -135,7 +136,7 @@ export class UmbDocumentWorkspaceViewEditElement extends UmbLitElement {
|
|||||||
? html`
|
? html`
|
||||||
<uui-tab
|
<uui-tab
|
||||||
label="Content"
|
label="Content"
|
||||||
.active=${this._routerPath === this._activePath}
|
.active=${this._routerPath + '/root' === this._activePath}
|
||||||
href=${this._routerPath || ''}
|
href=${this._routerPath || ''}
|
||||||
>Content</uui-tab
|
>Content</uui-tab
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ export class UmbWorkspaceLayout extends UmbLitElement {
|
|||||||
border-right: 1px solid var(--uui-color-border);
|
border-right: 1px solid var(--uui-color-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
#router-slot {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
umb-extension-slot[slot='actions'] {
|
umb-extension-slot[slot='actions'] {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--uui-size-space-2);
|
gap: var(--uui-size-space-2);
|
||||||
|
|||||||
@@ -37,11 +37,7 @@ export class UmbWorkspacePropertyLayoutElement extends LitElement {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host(:first-of-type) {
|
:host-context(umb-variantable-property:first-of-type) {
|
||||||
padding-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host(:first-of-type) {
|
|
||||||
padding-top:0;
|
padding-top:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user