diff --git a/src-web/main.css b/src-web/main.css index 1a6005c0..075d7a71 100644 --- a/src-web/main.css +++ b/src-web/main.css @@ -14,13 +14,15 @@ box-shadow var(--transition-duration); } + ::selection { + @apply bg-selection; + } + /* Disable user selection to make it more "app-like" */ :not(input):not(textarea), :not(input):not(textarea)::after, :not(input):not(textarea)::before { - -webkit-user-select: none; - user-select: none; - cursor: default; + @apply select-none cursor-default; } .hide-scrollbars { @@ -30,11 +32,6 @@ } } - .destroy-pointer-event, - .destroy-pointer-event * { - pointer-events: none !important; - } - /* Style the scrollbars */ ::-webkit-scrollbar-corner, ::-webkit-scrollbar {