diff options
author | m4xcube <m4xcube@users.noreply.github.com> | 2015-04-04 21:55:59 +0200 |
---|---|---|
committer | m4xcube <m4xcube@users.noreply.github.com> | 2015-04-04 21:55:59 +0200 |
commit | 04e352a7a0196ef8c75e4cdf44a6c9c2f552d563 (patch) | |
tree | 8a8272a6610f5733621fdafdbe93b619c3a5b834 /module | |
parent | Word Break (diff) | |
download | pyload-04e352a7a0196ef8c75e4cdf44a6c9c2f552d563.tar.xz |
Cleanup & Design improvement
Removed nobr for better html code with "white-space: nowrap;"
Changed height to max-heigt for better visual
Diffstat (limited to 'module')
-rw-r--r-- | module/web/templates/default/settings.html | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 5be7be516..c9b852c0a 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -29,11 +29,9 @@ <li class> <div class="panel panel-default" > <div class="panel-body"> - <ul id="general-menu" style="float: left; height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> + <ul id="general-menu" style="float: left; max-height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> {% for entry,name in conf.general %} - <nobr> - <li style="list-style-type: none; cursor: pointer; margin-top: 10px;" id="general|{{ entry }}">{{ name }}</li> - </nobr> + <li style="list-style-type: none; cursor: pointer; margin-top: 10px; white-space: nowrap;" id="general|{{ entry }}">{{ name }}</li> {% endfor %} </ul> </div> @@ -58,11 +56,9 @@ <li class> <div class="panel panel-default"> <div class="panel-body"> - <ul id="plugin-menu" style="float: left; height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> + <ul id="plugin-menu" style="float: left; max-height: 600px; overflow: auto; overflow-x: hidden; width: 100%"> {% for entry,name in conf.plugin %} - <nobr> - <li style="list-style-type: none; cursor: pointer; margin-top: 10px;" id="plugin|{{ entry }}">{{ name }}</li> - </nobr> + <li style="list-style-type: none; cursor: pointer; margin-top: 10px; white-space: nowrap;" id="plugin|{{ entry }}">{{ name }}</li> {% endfor %} </ul> <div> |