button: better fix (don't break nesting in container)
This commit is contained in:
parent
5278bc0699
commit
9d98afe3c8
3 changed files with 5 additions and 3 deletions
|
|
@ -12,10 +12,12 @@
|
|||
-webkit-tap-highlight-color:transparent;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
background: var(--color-fg);
|
||||
--default-bg: var(--color-fg);
|
||||
background: var(--default-bg);
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
text-transform: uppercase;
|
||||
// contain: none;
|
||||
|
||||
> * {
|
||||
color:var(--color-text)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
&:not(.tab) {
|
||||
> .widget {
|
||||
box-shadow: 0.5rem 0.5rem 0 0.5rem var(--color-border);
|
||||
background: transparent;
|
||||
--default-bg: transparent;
|
||||
}
|
||||
}
|
||||
&.has-tabs {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
height: 60rem;
|
||||
padding:0!important;
|
||||
--color-border:var(--color-bg);
|
||||
background: var(--color-raised);
|
||||
--default-bg: var(--color-raised)!important;
|
||||
z-index: 1;
|
||||
|
||||
.toggle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue