button: better fix (don't break nesting in container)

This commit is contained in:
jean-emmanuel 2017-08-23 12:48:52 +02:00
parent 5278bc0699
commit 9d98afe3c8
3 changed files with 5 additions and 3 deletions

View file

@ -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)

View file

@ -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 {

View file

@ -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 {