summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar m4xcube <m4xcube@users.noreply.github.com> 2015-04-04 21:55:59 +0200
committerGravatar m4xcube <m4xcube@users.noreply.github.com> 2015-04-04 21:55:59 +0200
commit04e352a7a0196ef8c75e4cdf44a6c9c2f552d563 (patch)
tree8a8272a6610f5733621fdafdbe93b619c3a5b834 /module
parentWord Break (diff)
downloadpyload-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.html12
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>