Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Updated comment content to work with new block structure #1006

Merged
merged 5 commits into from
Nov 12, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3648,19 +3648,16 @@ div.comment:first-of-type {

/* COMMENT CONTENT */

.comment-content.entry-content .alignleft {
margin-right: 0;
.comment-content.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
width: 100%;
}

.comment-content.entry-content .alignright {
.comment-content.entry-content .alignleft {
margin-left: 0;
}

.comment-content.entry-content > .alignwide,
.comment-content.entry-content > .alignfull {
right: auto;
max-width: 100%;
width: auto;
.comment-content.entry-content .alignright {
margin-right: 0;
}

/* COMMENT FOOTER */
Expand Down
15 changes: 8 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3670,19 +3670,20 @@ div.comment:first-of-type {

/* COMMENT CONTENT */

.comment-content.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
width: 100%;
}

.comment-content.entry-content .alignleft {

/*rtl:ignore*/
margin-left: 0;
}

.comment-content.entry-content .alignright {
margin-right: 0;
}

.comment-content.entry-content > .alignwide,
.comment-content.entry-content > .alignfull {
left: auto;
max-width: 100%;
width: auto;
/*rtl:ignore*/
margin-right: 0;
}

/* COMMENT FOOTER */
Expand Down