labels/texts: allow arbitrary white spaces

This commit is contained in:
jean-emmanuel 2018-01-25 12:47:05 +01:00
parent 780c5c00eb
commit 537c61d757
4 changed files with 6 additions and 1 deletions

View file

@ -13,6 +13,7 @@
- property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes)
- switch: added `showValues` to display both values and labels in the buttons
- rgb: **removed** `touchAddress` option
- labels/texts: multiple white spaces are no longer merged
- misc
- event system rewritten
- js build size reduced

View file

@ -85,6 +85,7 @@ body {
box-shadow: 0 0 0 1rem var(--color-light) inset;
letter-spacing: 1rem;
font-size: 109%;
white-space: pre;
span {
display:block;
width:100%;

View file

@ -53,7 +53,9 @@
width: 100%;
flex-shrink: 0;
display: flex;
justify-content: space-around;
justify-content: center;
white-space: pre;
// justify-content: space-around;
align-items: center;
&.accent {
color:var(--color-accent);

View file

@ -69,6 +69,7 @@
justify-content: center;
display: flex;
align-items: center;
white-space: pre;
background: var(--color-track);
color:var(--color-custom);
border: 1rem solid var(--color-bg);