Underline first letter of shapes

to indicate interactivity
This commit is contained in:
Alex Bratsos 2020-01-04 00:29:12 +02:00
parent 0182c467d7
commit 5843b6a890
2 changed files with 9 additions and 1 deletions

View file

@ -608,7 +608,7 @@ class App extends React.Component<{}, AppState> {
this.forceUpdate();
}}
/>
{children}
<span>{children}</span>
</label>
);
}

View file

@ -17,6 +17,14 @@ label {
margin-right: 10px;
}
label span {
display: inline-block;
}
label span::first-letter {
text-decoration: underline;
}
input[type="number"] {
width: 30px;
}