erming / shout

Deprecated. See fork @ https://github.com/thelounge
MIT License
3.62k stars 272 forks source link

Fix show-more being displayed over chat messages. #568

Open nomadturk opened 8 years ago

nomadturk commented 8 years ago

With this PR I tried fixing https://github.com/erming/shout/issues/366 by changing it's position to relative. It wasn't a pretty sight to see "Show more" bar on existing chat messages.

nomadturk commented 8 years ago

Test image

xPaw commented 8 years ago

There's this css which needs to be removed, otherwhise there's too much space with this change.

#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 .msg:first-child > span {
    padding-top: 10px;
}
nomadturk commented 8 years ago

@xPaw , thanks for contributing. That's indeed way better.

xPaw commented 8 years ago

:+1:

astorije commented 8 years ago

@nomadturk, would you mind squashing these 2 commits please? Thanks for this contribution! :-)