led: default size and border-radius inheritance fix

This commit is contained in:
jean-emmanuel 2017-06-09 12:12:43 +02:00
parent a0d832b219
commit 29aae49ee8

View file

@ -1,6 +1,6 @@
.led-container, .rgbled-container {
width:100rem;
flex-shrink: 0;
height:100rem;
.led {
display: flex;
@ -8,10 +8,12 @@
height: 100%;
overflow: hidden;
padding:2rem;
border-radius: inherit;
div {
width:100%;
height:100%;
position: relative;
border-radius: inherit;
background:var(--color-track);
span {
width:100%;
@ -19,6 +21,7 @@
position: relative;
display:block;
background-color:var(--color-custom);
border-radius: inherit;
}
}
}