Redo posts as flex

No more clearfix, no more "overflow: hidden", no more bullshit.
This commit is contained in:
Zixaphir 2013-08-25 13:48:05 -07:00
parent ace2f6384f
commit e6de614e14
3 changed files with 7 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1010,8 +1010,7 @@ th {
border-radius: 4px;
}
/* Thread Clearfix */
.thread > .threadContainer:last-of-type::after,
.thread > .postContainer:last-of-type::after {
.thread > .threadContainer:last-of-type::after {
display: block;
content: ' ';
clear: both;
@ -1095,9 +1094,11 @@ th {
<%= sizing %>: border-box;
display: inline-block;
}
.replyContainer {
display: <%= flex %>;
}
.fit-width-replies .reply.post {
display: block;
overflow: hidden;
<%= flex %>: 1 0;
}
.fit-width-replies .expanded-image .reply.post,
.fit-width-replies .hasInline .reply.post {
@ -1108,12 +1109,6 @@ th {
.indent-replies .threadContainer > .replyContainer {
margin-left: 2em;
}
.expanded-image .reply.post,
.hasInline .reply.post {
display: inline-block;
overflow: visible;
clear: both;
}
.rounded-edges .post {
border-radius: 3px;
}
@ -1125,10 +1120,6 @@ s {
a.useremail:last-of-type {
vertical-align: top;
}
/* Reply Clearfix */
.reply.post .postMessage {
clear: right;
}
.op-background .op.post .postMessage::after,
.force-reply-break .op.post .postMessage::after {
display: block;
@ -1156,12 +1147,6 @@ a.useremail:last-of-type {
.inline .replyContainer {
display: inline-block;
}
/* Inlined Clearfix */
.inline .postMessage::after {
clear: both;
display: block;
content: "";
}
/* Quotes */
.inlined {
opacity: .5;