From 4ecd05d8b27dd300ffa3e44eb67604c6bb9b5f44 Mon Sep 17 00:00:00 2001 From: rr- Date: Tue, 3 Jan 2017 19:35:53 +0100 Subject: [PATCH] client/comments: don't use flexbox --- client/css/comment-control.styl | 10 +++------- client/css/comment-list-view.styl | 3 ++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/client/css/comment-control.styl b/client/css/comment-control.styl index d9b5897..5b1a408 100644 --- a/client/css/comment-control.styl +++ b/client/css/comment-control.styl @@ -4,14 +4,11 @@ $comment-border-color = #DDD .comment-container margin: 0 0 1em 0 - padding: 0 - display: -webkit-flex - display: flex + padding: 0 0 0 60px .avatar - margin-right: 1em - -webkit-flex-shrink: 0 - flex-shrink: 0 + float: left + margin-left: -60px vertical-align: top .thumbnail @@ -25,7 +22,6 @@ $comment-border-color = #DDD .comment border: 1px solid $comment-border-color - flex-grow: 1 header white-space: nowrap diff --git a/client/css/comment-list-view.styl b/client/css/comment-list-view.styl index 9e93809..361b7c0 100644 --- a/client/css/comment-list-view.styl +++ b/client/css/comment-list-view.styl @@ -18,10 +18,11 @@ @media (min-width: 700px) &>li - display: flex + padding-left: 13em margin-bottom: 2em .post-thumbnail float: left + margin-left: -13em .thumbnail width: 12em height: 8em