ui: user-select: none

This commit is contained in:
cha0s 2021-01-25 09:00:29 -06:00
parent b2ad895ebb
commit 033828d51c
3 changed files with 14 additions and 8 deletions

View File

@ -8,7 +8,9 @@
overflow: auto;
padding: 1em;
}
.m-tree > .m-node {
.m-tree {
user-select: none;
> .m-node {
> .children {
margin-left: -20px;
}
@ -16,6 +18,7 @@
display: none;
}
}
}
.m-node {
font-family: monospace;
.inner {

View File

@ -163,6 +163,7 @@ button, .button {
button, input[type="checkbox"], input[type="checkbox"] + label {
cursor: pointer;
user-select: none;
}
select {

View File

@ -1,11 +1,13 @@
.react-tabs__tab {
background-color: #222;
color: white;
border: none;
border-left: 1px solid rgba(255, 255, 255, 0.1);
bottom: 0;
padding: 1em;
background-color: #222;
color: white;
padding: 1em;
font-family: monospace;
user-select: none;
&:first-child {
border: none;
}