diff --git a/public/css/main.css b/public/css/main.css index dbfc99be..bc82d82e 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -151,7 +151,13 @@ select.form-input { padding: 10px 4px 9px 7px; } -.language span.input-group { display: inline-block; } +.language span.input-group { display: inline-block; padding-right: 4px; } +.language span.input-group.highlighted { + border: 1px solid #c4c4c4; + background-color: hsla(30, 100%, 50%, 0.2) !important; + padding-right: 2px; + border-radius: 5px; +} .language span.input-group span { display: none; } .language .input-group label { margin-bottom: 1px; } .language .input-group input { margin-right: 4px; } @@ -999,16 +1005,14 @@ input.nav-btn { display: flex; user-select: none; vertical-align: bottom; - width: 429px; + width: 435px; max-width: 100%; } .rules-drop > summary { cursor: pointer; } .rules-drop > div { - display: inline-block; height: auto; - border: 1px solid black; padding: 0; border-top: none; } diff --git a/templates/layouts/partials/helpers/flags.jet.html b/templates/layouts/partials/helpers/flags.jet.html index 8deaf421..0ceb657c 100644 --- a/templates/layouts/partials/helpers/flags.jet.html +++ b/templates/layouts/partials/helpers/flags.jet.html @@ -1,9 +1,5 @@ {{ block flagList(languages=nil, selected="", inputname="languages", id="lang")}} {{ if isset(languages) }} - {{ range _, language := languages }} - - {{LanguageName(language, T)}} - - {{ end }} + {{ range _, language := languages }}{{LanguageName(language, T)}}{{ end }} {{ end }} {{ end }} diff --git a/templates/layouts/partials/torrent_item.jet.html b/templates/layouts/partials/torrent_item.jet.html index c5ece5d7..c7929070 100644 --- a/templates/layouts/partials/torrent_item.jet.html +++ b/templates/layouts/partials/torrent_item.jet.html @@ -21,7 +21,7 @@ Templates.Add("torrents.item", function(torrent) { "