Skip to content

Commit

Permalink
LWR-274: correct heading size (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
melwong-jcc authored Sep 6, 2023
1 parent 4be697f commit d7ab117
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions source/_patterns/02-molecules/read-more/_read-more.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);
max-inline-size: 75ch;
}

.read-more__heading {
h3.read-more__heading {
@include u-display(flex);
@include u-border(map-get($_config, rm-border-size), map-get($_config, rm-border));
@include u-bg(map-get($_config, rm-background));
@include u-padding-left(2);
@include u-font-size(body, map-get($_config, rm-text-size));
@include u-font-weight(bold);
@include u-color(ink);
align-items: center;
justify-content: space-between;
border-radius: map-get($_config, rm-border-radius);
line-height: normal;
}

.read-more__action {
Expand Down
1 change: 0 additions & 1 deletion source/_patterns/02-molecules/read-more/read-more.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ function docReady(fn) {
}
docReady(function () {
const readmorebtns = Array.from(document.querySelectorAll(".read-more__action"));
console.clear();

// More-Less logic per instance.
readmorebtns.forEach((readmorebtn) => {
Expand Down

0 comments on commit d7ab117

Please sign in to comment.