mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 06:05:56 -05:00
same size and hopefully the stair casing is fixed. (picture 3 in ticket #181)
This commit is contained in:
parent
3ba6992c2b
commit
32817b0826
@ -48,6 +48,9 @@ select {
|
||||
#buttons {
|
||||
float: left;
|
||||
}
|
||||
#buttons input {
|
||||
width: 7em;
|
||||
}
|
||||
</style>
|
||||
<h1>Configuration</span></h1><span id="toggle_basic_advanced"></span>
|
||||
<div id="config_not_writable_warning" class="message_div" style="display: none;">Your config file is not writable, you can not change anything using this webpage</div>
|
||||
|
@ -298,6 +298,7 @@ var Config ={
|
||||
if (!Cookie.getVar('show_advanced_config') && item.advanced) {
|
||||
frag.style.display = 'none';
|
||||
}
|
||||
frag.style.clear = 'both';
|
||||
return frag;
|
||||
},
|
||||
_addItemEvent: function (e) {
|
||||
@ -402,6 +403,12 @@ var BuildElement = {
|
||||
label.appendChild(document.createTextNode(displayName));
|
||||
frag.appendChild(label);
|
||||
var input;
|
||||
if (/KHTML/.test(navigator.userAgent) && (80 == size)) {
|
||||
// Safari & Konqueror input fields gets to long
|
||||
// This is a runner up in the ugly bug fix contest
|
||||
size = 60;
|
||||
}
|
||||
|
||||
if (Config.isWritable) {
|
||||
input = Builder.node('input',{id: id,name: name,className: 'text',
|
||||
value: value,size: size});
|
||||
|
Loading…
Reference in New Issue
Block a user