Skip to content

Commit

Permalink
prevent more drag events (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull committed Sep 7, 2020
1 parent dd49001 commit a157708
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Custom Theming for Angular Material
// For more information: https://material.angular.io/guide/theming
@import "~@angular/material/theming";
@import '~@angular/material/theming';
@include mat-core();

// TODO: needed for ripple effect, need to check why
Expand All @@ -11,19 +11,24 @@ $OctoPrintDash-theme: mat-dark-theme($OctoPrintDash-primary, $OctoPrintDash-acce
@include angular-material-theme($OctoPrintDash-theme);

*:not(path):not(svg) {
font-family: "Montserrat", sans-serif;
font-family: 'Montserrat', sans-serif;
color: #f5f6fa;
font-size: 4.3vw;
margin: 0;
padding: 0;
overflow: hidden;
}

* {
*,
*::after,
*::before {
-webkit-user-select: none;
-webkit-user-drag: none;
-webkit-app-region: no-drag;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
user-select: none;
cursor: default;
}

html,
Expand Down

0 comments on commit a157708

Please sign in to comment.