add smart text selection
This commit is contained in:
parent
7ccc701b7b
commit
3374c8ba39
2 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,7 @@ $button-focus-shift: 12%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
user-select: none;
|
||||||
transition: background var(--animation-duration) var(--animation-style);
|
transition: background var(--animation-duration) var(--animation-style);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
border-radius: var(--card-radius);
|
border-radius: var(--card-radius);
|
||||||
margin-bottom: var(--card-margin);
|
margin-bottom: var(--card-margin);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
user-select: text;
|
||||||
|
|
||||||
//below added to prevent scrollbar on long titles when show page loads, would prefer a cleaner CSS solution
|
//below added to prevent scrollbar on long titles when show page loads, would prefer a cleaner CSS solution
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
@ -49,6 +50,8 @@
|
||||||
.card__actions {
|
.card__actions {
|
||||||
margin-top: var(--card-margin);
|
margin-top: var(--card-margin);
|
||||||
margin-bottom: var(--card-margin);
|
margin-bottom: var(--card-margin);
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
.card__actions--bottom {
|
.card__actions--bottom {
|
||||||
margin-top: $spacing-vertical * 1/3;
|
margin-top: $spacing-vertical * 1/3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue