Make buttons unselectable
This improves copying and pasting quite a lot
This commit is contained in:
parent
10dde0e7d9
commit
1f0cb71e86
|
@ -478,6 +478,14 @@ li.buffer.indent.private a {
|
|||
font-size: small;
|
||||
}
|
||||
|
||||
.unselectable {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* */
|
||||
/* Mobile layout */
|
||||
/* */
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<textarea id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" autocomplete="off" ng-model="command" ng-focus="hideSidebar()">
|
||||
</textarea>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-primary">Send</button>
|
||||
<button class="btn btn-default btn-primary unselectable">Send</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div ng-show="plugin.visible">
|
||||
<button class="btn btn-primary btn-sm pull-right"
|
||||
<button class="btn btn-primary btn-sm pull-right unselectable"
|
||||
ng-click="hideContent()">
|
||||
Hide {{ ::plugin.name }}
|
||||
</button>
|
||||
|
@ -8,7 +8,7 @@
|
|||
</div>
|
||||
|
||||
<div ng-hide="plugin.visible">
|
||||
<button class="btn btn-sm pull-right"
|
||||
<button class="btn btn-sm pull-right unselectable"
|
||||
ng-class="::{
|
||||
'btn-warning': plugin.nsfw,
|
||||
'btn-primary': !plugin.nsfw}"
|
||||
|
|
Loading…
Reference in New Issue