mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-28 19:08:01 +00:00
Fix sidebar borders (#6752)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
28dbc1bae5
commit
14e6a85301
@ -23,6 +23,9 @@
|
||||
min-width: 0;
|
||||
border: 1px solid var(--theme-divider-color); // var(--global-surface-02-BorderColor);
|
||||
border-radius: var(--small-focus-BorderRadius);
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-right: 0;
|
||||
|
||||
&:not(.modal) {
|
||||
background-color: var(--theme-panel-color); // var(--global-surface-02-BackgroundColor);
|
||||
|
@ -910,6 +910,8 @@
|
||||
inset: 0;
|
||||
border: 1px solid var(--theme-divider-color);
|
||||
border-radius: var(--medium-BorderRadius);
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
.antiPanel-application {
|
||||
|
@ -165,10 +165,7 @@
|
||||
width: calc(100% - 3.5rem);
|
||||
height: 100%;
|
||||
background: var(--theme-panel-color);
|
||||
|
||||
border-right: 1px solid var(--global-ui-BorderColor);
|
||||
border-top-left-radius: var(--small-focus-BorderRadius);
|
||||
border-bottom-left-radius: var(--small-focus-BorderRadius);
|
||||
}
|
||||
|
||||
.component {
|
||||
|
@ -23,4 +23,4 @@
|
||||
export let selected: Ref<Widget> | undefined = undefined
|
||||
</script>
|
||||
|
||||
<WidgetsBar {widgets} {preferences} {selected} roundBorder />
|
||||
<WidgetsBar {widgets} {preferences} {selected} />
|
||||
|
@ -24,7 +24,6 @@
|
||||
export let widgets: Widget[] = []
|
||||
export let preferences: WidgetPreference[] = []
|
||||
export let selected: Ref<Widget> | undefined = undefined
|
||||
export let roundBorder = false
|
||||
|
||||
function handleAddWidget (): void {
|
||||
showPopup(AddWidgetsPopup, { widgets })
|
||||
@ -49,7 +48,7 @@
|
||||
.filter((widget): widget is Widget => widget !== undefined && widget.type === WidgetType.Configurable)
|
||||
</script>
|
||||
|
||||
<div class="root" class:roundBorder>
|
||||
<div class="root">
|
||||
<div class="block">
|
||||
{#each fixedWidgets as widget}
|
||||
<WidgetPresenter
|
||||
@ -104,10 +103,6 @@
|
||||
max-width: 3.5rem;
|
||||
border-top: 1px solid var(--theme-divider-color);
|
||||
overflow-y: auto;
|
||||
|
||||
&.roundBorder {
|
||||
border-top-left-radius: var(--small-focus-BorderRadius);
|
||||
}
|
||||
}
|
||||
|
||||
.block {
|
||||
|
Loading…
Reference in New Issue
Block a user