From b53e5c407c7ca90e9741791b4e0d927fb5f54ea1 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 28 Feb 2016 01:22:52 +0200 Subject: [PATCH] Fix #111: Simplify message padding --- client/css/style.css | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 2ec36fb2..c5763358 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -685,18 +685,9 @@ button, #chat .show-more { display: none; padding: 10px; - position: absolute; width: 100%; } -#chat .show-more.show + .messages .msg:first-child { - padding-top: 47px !important; -} - -#chat .show-more.show + .messages .msg:first-child > span { - padding-top: 52px !important; -} - #chat .show-more-button { background: #f4f4f4; background-image: linear-gradient(#f4f4f4, #ececec); @@ -717,6 +708,7 @@ button, #chat .messages { display: table; width: 100%; + padding: 10px 0; } #chat .msg { @@ -724,18 +716,6 @@ button, word-wrap: break-word; } -#chat .msg:first-child > span { - padding-top: 10px; -} - -#chat .msg:last-child { - height: 100%; -} - -#chat .msg:last-child .text { - padding-bottom: 10px; -} - #chat .msg .inline-channel { cursor: pointer; }