Skip to content

Commit

Permalink
Merge pull request #3797 from Automattic/fix/module-title-link-style
Browse files Browse the repository at this point in the history
Fix module, lesson title styles
  • Loading branch information
yscik committed Nov 20, 2020
2 parents 75efb08 + 96bbc6e commit 249fff1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
position: relative;


&, .entry-content &, .entry .entry-content & {
&, .entry-content &, .sensei .entry-content &:not(.button) {
font-size: 1em;

font-family: inherit;
Expand Down
10 changes: 8 additions & 2 deletions assets/blocks/course-outline/module-block/module-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@ $block: '.wp-block-sensei-lms-course-outline-module';
}

#{$block}__title {
font-size: 1em;
font-size: 1.1em;
font-weight: inherit;
flex: 1;
margin: 0;
color: inherit;
&::before, &::after {
content: none;
}

a {
a:not(.button) {
font-weight: inherit;
color: inherit;
text-decoration: inherit;
&:hover {
text-decoration: underline;
}
}
}

Expand Down

0 comments on commit 249fff1

Please sign in to comment.