aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
Diffstat (limited to 'viewer')
-rw-r--r--viewer/public/index.html4
-rw-r--r--viewer/src/assets/scss/global.scss13
2 files changed, 16 insertions, 1 deletions
diff --git a/viewer/public/index.html b/viewer/public/index.html
index bc9ba95..8176ab8 100644
--- a/viewer/public/index.html
+++ b/viewer/public/index.html
@@ -24,6 +24,8 @@
24 <meta charset="utf-8"> 24 <meta charset="utf-8">
25 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 25 <meta http-equiv="X-UA-Compatible" content="IE=edge">
26 <meta name="viewport" content="width=device-width,initial-scale=1.0"> 26 <meta name="viewport" content="width=device-width,initial-scale=1.0">
27 <meta name="generator" content="ldgallery">
28
27 <link rel="icon" href="<%= BASE_URL %>favicon.ico"> 29 <link rel="icon" href="<%= BASE_URL %>favicon.ico">
28 <title>ldgallery</title> 30 <title>ldgallery</title>
29</head> 31</head>
@@ -37,4 +39,4 @@
37 <!-- built files will be auto injected --> 39 <!-- built files will be auto injected -->
38</body> 40</body>
39 41
40</html> \ No newline at end of file 42</html>
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss
index dda722b..ed69841 100644
--- a/viewer/src/assets/scss/global.scss
+++ b/viewer/src/assets/scss/global.scss
@@ -63,6 +63,19 @@
63 cursor: initial; 63 cursor: initial;
64} 64}
65 65
66// Disable sticky hover styling on touch devices,
67// on which the virtual cursor doesn't leave the element after being tapped.
68// The fix can be applied to `a` elements by using the .link class.
69@media (hover:none), (hover:on-demand) {
70 .link:hover {
71 color: $link !important;
72 }
73
74 .disabled:hover {
75 color: $disabled-color !important;
76 }
77}
78
66// === Scrollbar styling 79// === Scrollbar styling
67 80
68.scrollbar { 81.scrollbar {