Skip to content

Commit

Permalink
Align the Read More button in the Actions List block (#2385)
Browse files Browse the repository at this point in the history
Align read more button in the action list

- Buttons were aligned
  • Loading branch information
mardelnet authored Sep 19, 2024
1 parent 5825284 commit a26db22
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions assets/src/scss/blocks/ActionsList/ActionsListStyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,14 @@

.read-more-nav {
display: flex;
justify-content: flex-end;
margin-top: 25%;
position: absolute;
bottom: 0;
right: 0;

html[dir="rtl"] & {
right: inherit;
left: 0;
}

a {
margin-bottom: 0;
Expand All @@ -96,12 +102,15 @@

.wp-block-post-title {
font-size: 20px;
margin-bottom: 0;
display: -webkit-box;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: $sp-1;

a {
display: -webkit-box;
line-clamp: 2;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}

.wp-block-post-excerpt p {
Expand Down

0 comments on commit a26db22

Please sign in to comment.