Skip to content

Commit

Permalink
Fix login page footer not being hidden on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
izstas committed Jan 7, 2022
1 parent 011de48 commit 81376e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/luci-static/argon/css/cascade.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions htdocs/luci-static/argon/less/cascade.less
Original file line number Diff line number Diff line change
Expand Up @@ -3971,6 +3971,10 @@ pre.command-output {
right: 0 !important;
margin-bottom: 1rem;
}

.login-page .login-container footer {
display: none;
}
}


Expand Down
2 changes: 1 addition & 1 deletion luasrc/view/themes/argon/footer_login.htm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<% local ver = require "luci.version" %>
</div>
<footer class="mobile-hide">
<footer>
<div>
<a class="luci-link" href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> /
<a href="https://github.com/jerrykuku/luci-theme-argon">ArgonTheme <%# vPKG_VERSION %></a> /
Expand Down

0 comments on commit 81376e7

Please sign in to comment.