Skip to content

Commit

Permalink
Fix Headline block alignment inside Media Card
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Apr 22, 2020
1 parent ad08687 commit 51a91c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions assets/scss/theme/_headline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
flex-direction: column;
align-items: center;

width: 100%;

&.has-text-align-left {
align-items: flex-start;
}
Expand Down
3 changes: 2 additions & 1 deletion editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@
.editor-styles-wrapper .c-headline {
display: flex;
flex-direction: column;
align-items: center; }
align-items: center;
width: 100%; }
.editor-styles-wrapper .c-headline.has-text-align-left {
align-items: flex-start; }
.editor-styles-wrapper .c-headline.has-text-align-right {
Expand Down
3 changes: 2 additions & 1 deletion style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -4981,7 +4981,8 @@ body.archive, body.blog, body.search {
.c-headline {
display: flex;
flex-direction: column;
align-items: center; }
align-items: center;
width: 100%; }
.c-headline.has-text-align-left {
align-items: flex-start; }
.c-headline.has-text-align-right {
Expand Down
3 changes: 2 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4981,7 +4981,8 @@ body.archive, body.blog, body.search {
.c-headline {
display: flex;
flex-direction: column;
align-items: center; }
align-items: center;
width: 100%; }
.c-headline.has-text-align-left {
align-items: flex-start; }
.c-headline.has-text-align-right {
Expand Down

0 comments on commit 51a91c0

Please sign in to comment.