diff options
-rw-r--r-- | templates/base/head.tmpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index be1a6c3d..4d88ef15 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -61,6 +61,12 @@ <!-- Stylesheet --> <link rel="stylesheet" href="{{AppSubURL}}/css/semantic-2.2.13.min.css"> <link rel="stylesheet" href="{{AppSubURL}}/css/gogs.css?v={{MD5 AppVer}}"> + <noscript> + <style> + .dropdown:hover > .menu { display: block; } + .ui.secondary.menu .dropdown.item > .menu { margin-top: 0; } + </style> + </noscript> <!-- JavaScript --> <script src="{{AppSubURL}}/js/semantic-2.2.13.min.js"></script> @@ -74,7 +80,7 @@ </head> <body> <div class="full height"> - <noscript>Please enable JavaScript in your browser!</noscript> + <noscript>This website works better with JavaScript</noscript> {{if not .PageIsInstall}} <div class="following bar light"> |