Fixed some width calculation issues
authorAlexander Ebert <ebert@woltlab.com>
Fri, 19 Aug 2016 08:13:27 +0000 (10:13 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 19 Aug 2016 08:13:27 +0000 (10:13 +0200)
wcfsetup/install/files/style/ui/message.scss

index 37b15fb8814bd3ffe550d4af7c9242eb61e0e22f..3fabc86579a098d9328b0f2367dff075085d0684 100644 (file)
                text-align: center;
                
                & + .messageContent {
+                       flex-basis: calc(100% - 270px);
                        margin-left: 30px;
+                       max-width: calc(100% - 270px);
                }
        }
        
 /* content */
 .messageContent {
        display: flex;
-       flex: auto;
+       flex: 1 1 auto;
        flex-direction: column;
        
        @include screen-sm-down {
 
 /* content - body */
 .messageBody {
-       flex: auto;
+       flex: 1 1 auto;
        
        &.editor {
                align-items: center;
                }
                
                > .editorContainer {
-                       flex: auto;
+                       flex: 1 1 auto;
                }
        }
        
        
        > .messageFooterButtons {
                @include screen-md-up {
-                       flex: auto;
+                       flex: 1 1 auto;
                }
                
                @include screen-sm-down {