Skip to content

Commit

Permalink
unselectable class added
Browse files Browse the repository at this point in the history
  • Loading branch information
nerkn authored and rafaellehmkuhl committed Oct 27, 2024
1 parent 6ac295c commit 05eefe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mini-widgets/ArmerButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
: 'bg-green-700 hover:bg-green-800 text-slate-400 justify-start left-[4%]'
"
>
<span class="inline-block font-extrabold align-middle">
<span class="inline-block font-extrabold align-middle unselectable">
{{ vehicleStore.isArmed === undefined ? '...' : vehicleStore.isArmed ? 'Armed' : 'Disarmed' }}
</span>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
select:focus {
outline: none;
}
.unselectable {
user-select: none;
}

@keyframes highlightBackground {
0% { background-color: rgba(255, 234, 43, 0.438); }
Expand Down

0 comments on commit 05eefe7

Please sign in to comment.