styled button-more line-height

This commit is contained in:
jorge-vitrubio 2023-01-31 18:25:19 +01:00
parent ec31d8669d
commit ab8c41182b
5 changed files with 14 additions and 7 deletions

View File

@ -924,6 +924,10 @@ Add your custom styles in this file so it is easier to update the theme.
border-color: #333; border-color: #333;
} }
.edit-post-visual-editor__content-area .button-more {
line-height: 2.5em;
}
.edit-post-visual-editor__content-area .button-more::after { .edit-post-visual-editor__content-area .button-more::after {
content: "+"; content: "+";
display: inline-block; display: inline-block;
@ -935,6 +939,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .button-more:hover::after { .edit-post-visual-editor__content-area .button-more:hover::after {
content: ">"; content: ">";
font-size: 1rem;
} }
.edit-post-visual-editor__content-area .home-featured .more-link, .edit-post-visual-editor__content-area .archive-posts .more-link { .edit-post-visual-editor__content-area .home-featured .more-link, .edit-post-visual-editor__content-area .archive-posts .more-link {

File diff suppressed because one or more lines are too long

View File

@ -23,21 +23,18 @@ input[type="submit"],
} }
} }
.button-more { .button-more {
line-height: 2.5em;
&::after { &::after {
content: "+"; content: "+";
display: inline-block; display: inline-block;
width: 2rem; width: 2rem;
//height: 2rem;
//padding: 0 0.5rem;
font-family: $font__black; font-family: $font__black;
font-size: 1.5rem; font-size: 1.5rem;
text-align: right; text-align: right;
} }
&:hover::after { &:hover::after {
content: ">"; content: ">";
//padding-left: 0.2rem; font-size: 1rem;
//font-size: 1.2rem;
//line-height: 1.5;
} }
} }
.home-featured,.archive-posts { .home-featured,.archive-posts {

View File

@ -855,6 +855,10 @@ input[type="submit"]:focus,
border-color: #333; border-color: #333;
} }
.button-more {
line-height: 2.5em;
}
.button-more::after { .button-more::after {
content: "+"; content: "+";
display: inline-block; display: inline-block;
@ -866,6 +870,7 @@ input[type="submit"]:focus,
.button-more:hover::after { .button-more:hover::after {
content: ">"; content: ">";
font-size: 1rem;
} }
.home-featured .more-link, .archive-posts .more-link { .home-featured .more-link, .archive-posts .more-link {

File diff suppressed because one or more lines are too long