From: Alexander Ebert Date: Fri, 19 Aug 2016 08:13:27 +0000 (+0200) Subject: Fixed some width calculation issues X-Git-Tag: 3.0.0_Beta_1~674 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9bae83d0661d9e5c7926024b6dac3531ac20ee3b;p=GitHub%2FWoltLab%2FWCF.git Fixed some width calculation issues --- diff --git a/wcfsetup/install/files/style/ui/message.scss b/wcfsetup/install/files/style/ui/message.scss index 37b15fb881..3fabc86579 100644 --- a/wcfsetup/install/files/style/ui/message.scss +++ b/wcfsetup/install/files/style/ui/message.scss @@ -113,7 +113,9 @@ text-align: center; & + .messageContent { + flex-basis: calc(100% - 270px); margin-left: 30px; + max-width: calc(100% - 270px); } } @@ -248,7 +250,7 @@ /* content */ .messageContent { display: flex; - flex: auto; + flex: 1 1 auto; flex-direction: column; @include screen-sm-down { @@ -380,7 +382,7 @@ /* content - body */ .messageBody { - flex: auto; + flex: 1 1 auto; &.editor { align-items: center; @@ -392,7 +394,7 @@ } > .editorContainer { - flex: auto; + flex: 1 1 auto; } } @@ -456,7 +458,7 @@ > .messageFooterButtons { @include screen-md-up { - flex: auto; + flex: 1 1 auto; } @include screen-sm-down {