Skip to content

Commit

Permalink
Fix #111: Simplify message padding
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Feb 27, 2016
1 parent 31d9384 commit b53e5c4
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions client/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -717,25 +708,14 @@ button,
#chat .messages {
display: table;
width: 100%;
padding: 10px 0;
}

#chat .msg {
display: table-row;
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;
}
Expand Down

3 comments on commit b53e5c4

@xPaw
Copy link
Member Author

@xPaw xPaw commented on b53e5c4 Feb 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@astorije Didn't actually mean to do this in master, happened by mistake.

@astorije
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK @xPaw! Does that have visual consequences? Screenshot? I'm not sure I get the intent.
Also, if we can have a +1 from someone from the @thelounge/maintainers a posteriori, that would be great!

@xPaw
Copy link
Member Author

@xPaw xPaw commented on b53e5c4 Feb 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the issue description for #111, and there's a screenshot in #99.

01:24 +Max-P Yep, just saw that, I was like wat xD
01:25 +Max-P Lets prentend I give a +1 and it's fine :P

Please sign in to comment.