add smart text selection

This commit is contained in:
btzr-io 2017-10-11 21:37:36 -06:00
parent 7ccc701b7b
commit 3374c8ba39
2 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,7 @@ $button-focus-shift: 12%;
cursor: pointer;
font-weight: 500;
font-size: 14px;
user-select: none;
transition: background var(--animation-duration) var(--animation-style);
}

View file

@ -7,6 +7,7 @@
border-radius: var(--card-radius);
margin-bottom: var(--card-margin);
overflow: auto;
user-select: text;
//below added to prevent scrollbar on long titles when show page loads, would prefer a cleaner CSS solution
overflow-x: hidden;
@ -49,6 +50,8 @@
.card__actions {
margin-top: var(--card-margin);
margin-bottom: var(--card-margin);
user-select: none;
}
.card__actions--bottom {
margin-top: $spacing-vertical * 1/3;