Fix #111: Simplify message padding

This commit is contained in:
Pavel Djundik 2016-02-28 01:22:52 +02:00
parent 31d938440b
commit b53e5c407c

View file

@ -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;
}