From f75d4408871028800a7e44d5541c5935a1f91154 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 5 Jun 2013 23:40:07 +0200 Subject: [PATCH] Mobile optimizations --- wcfsetup/install/files/style/dropdown.less | 4 ++-- wcfsetup/install/files/style/form.less | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/style/dropdown.less b/wcfsetup/install/files/style/dropdown.less index 5340fad562..5ebbdb3e9e 100644 --- a/wcfsetup/install/files/style/dropdown.less +++ b/wcfsetup/install/files/style/dropdown.less @@ -8,10 +8,10 @@ display: table; width: 100%; - input, + /*input, textarea { min-width: 300px; - } + }*/ input { display: table-cell; diff --git a/wcfsetup/install/files/style/form.less b/wcfsetup/install/files/style/form.less index 6b2bf2fd92..ad5fa2d8d4 100644 --- a/wcfsetup/install/files/style/form.less +++ b/wcfsetup/install/files/style/form.less @@ -55,6 +55,7 @@ dl:not(.plain) { margin-top: 2px; position: absolute; text-align: left; + white-space: nowrap; width: auto; ~ dd > input[type='checkbox'], ~ dd > input[type='radio'] { @@ -127,7 +128,7 @@ dl:not(.plain) { } } -@media only screen and (max-width: 800px) { +@media only screen and (max-width: 1024px) { dl:not(.plain) { > dt { float: none; -- 2.20.1