[O] Disable title text selection

This commit is contained in:
Hykilpikonna
2019-12-25 16:25:18 -05:00
parent ee698425b6
commit cf2b3b74ab
+9 -1
View File
@@ -1,6 +1,6 @@
<template>
<div id="app">
<div id="title" :style="titleStyle">
<div id="title" class="no-select" :style="titleStyle">
<div id="title-text">{{config.title.text}}</div>
<div id="title-sub">{{config.title.sub}}</div>
</div>
@@ -112,4 +112,12 @@
// Shadow
box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}
.no-select
{
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}
</style>