summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/styles/main.scss8
-rw-r--r--src/templates/apps.template.html4
-rw-r--r--src/templates/time.template.html4
3 files changed, 11 insertions, 5 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index b89ee6f..a09d4e5 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -24,6 +24,12 @@ body {
color: map-get($colors, font);
margin: 0;
+ img {
+ user-select: none !important;
+ touch-action: none;
+ pointer-events: none;
+ }
+
a {
color: map-get($colors, font);
text-decoration: none;
@@ -148,4 +154,4 @@ body {
background: white;
font-size: 1.5rem;
}
-} \ No newline at end of file
+}
diff --git a/src/templates/apps.template.html b/src/templates/apps.template.html
index 9916e2a..bcf2968 100644
--- a/src/templates/apps.template.html
+++ b/src/templates/apps.template.html
@@ -1,5 +1,5 @@
{{ #apps }}
- <a href="#" class="button" id="app-{{id}}" app-id="{{ id }}" onclick="apps.start('{{id}}');">
+ <a class="button" dragable="false" id="app-{{id}}" app-id="{{ id }}" onclick="apps.start('{{id}}');">
<div class="icon {{ icon }}">
</div>
@@ -7,4 +7,4 @@
{{ name }}
</div>
</a>
-{{ /apps }} \ No newline at end of file
+{{ /apps }}
diff --git a/src/templates/time.template.html b/src/templates/time.template.html
index 663c8e5..c7dad96 100644
--- a/src/templates/time.template.html
+++ b/src/templates/time.template.html
@@ -8,7 +8,7 @@
{{ #weather }}
{{ #showTemperature }}
<div class="temperature weatherItem">
- <img src="http://openweathermap.org/img/wn/{{ weather.weather.0.icon }}.png">
+ <img dragable="false" src="http://openweathermap.org/img/wn/{{ weather.weather.0.icon }}.png">
{{ weather.main.temp }}ºF
</div>
{{ /showTemperature }}
@@ -43,4 +43,4 @@
No weather
</div>
{{ /weather }}
-</div> \ No newline at end of file
+</div>