From: Marcel Werk Date: Sun, 17 Mar 2013 23:34:35 +0000 (+0100) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_1~426 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3b93cdad11b68ead2845e5da593a1646716f3c2;p=GitHub%2FWoltLab%2FWCF.git Small style optimization --- diff --git a/wcfsetup/install/files/style/form.less b/wcfsetup/install/files/style/form.less index f97eed23a6..410cf7368e 100644 --- a/wcfsetup/install/files/style/form.less +++ b/wcfsetup/install/files/style/form.less @@ -349,6 +349,16 @@ textarea { width: 100%; } +@media only screen and (max-device-width: 480px) { + textarea { + max-height: 160px; + } + + .medium { + width: 100%; + } +} + /* upload button */ .uploadButton { margin-top: @wcfGapSmall; diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 4d5948499c..e7a956372a 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -864,6 +864,10 @@ .containerList { > li { padding: @wcfGapSmall; + + .containerContentType { + display: none; + } } &.infoBoxList { @@ -1122,9 +1126,6 @@ white-space: nowrap; &.ui-state-active { - margin-right: -7px; - margin-left: -6px; - > a { background-color: @wcfContainerBackgroundColor; border-color: @wcfContainerBorderColor @wcfContainerBorderColor @wcfContainerBackgroundColor; @@ -1137,6 +1138,14 @@ padding: 10px 15px 5px; z-index: 30; } + + &:first-child { + margin-left: -6px; + } + + &:last-child { + margin-right: -6px; + } } > a {