mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 06:56:10 +02:00
Merge remote-tracking branch 'origin/staging' into superalex-merge-conflicts-2
This commit is contained in:
commit
a1fc785771
37 changed files with 734 additions and 399 deletions
|
@ -177,8 +177,7 @@
|
|||
|
||||
class (dm/str class " " (stl/css :tabs))
|
||||
|
||||
props (mf/spread-props props {:class class
|
||||
:on-key-down on-key-down})]
|
||||
props (mf/spread-props props {:class class})]
|
||||
|
||||
(mf/with-effect [tabs]
|
||||
(mf/set-ref-val! tabs-ref tabs))
|
||||
|
@ -190,6 +189,7 @@
|
|||
:tabs tabs
|
||||
:on-ref on-ref
|
||||
:selected selected
|
||||
:on-key-down on-key-down
|
||||
:on-click on-click}]]
|
||||
|
||||
(let [active-tab (get-tab tabs selected)
|
||||
|
|
|
@ -101,7 +101,17 @@
|
|||
}
|
||||
|
||||
.tab-panel {
|
||||
--tab-panel-outline-color: none;
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
--tab-panel-outline-color: var(--color-accent-primary);
|
||||
}
|
||||
|
||||
display: grid;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
outline: $b-1 solid var(--tab-panel-outline-color);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue