Skip to content

Commit

Permalink
Update dist, button fixup, news node spacing fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwjdwjdw committed Sep 26, 2023
1 parent 8c4f5e5 commit bea0ea1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/chem_h_subtheme.behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
$('.node.event .section-editorial-content .su-event-type a').contents().unwrap().wrap('<p/>');

// Replace <a> tag for news node news topics taxonomy with <p>
$('.news.node .layout--section-news-header .su-news-topics a').contents().unwrap().wrap('<p/>');
$('.news.node .layout--section-news-header .section-header .su-news-topics a').contents().unwrap().wrap('<p/>');

}
};
Expand Down
16 changes: 11 additions & 5 deletions src/scss/components/news/_news-node.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
// top: -46.5rem;
top: -54rem;
margin: 0 auto;
margin-bottom: -54rem;

@include grid-media-min('sm') {
max-width: 70%;
Expand Down Expand Up @@ -120,14 +121,17 @@
// @include responsive-spacing('margin-bottom', 2);
// @include responsive-spacing('margin-bottom', -8);
@include responsive-spacing('padding-top', 1);
@include responsive-spacing('padding-bottom', 8);
// @include responsive-spacing('padding-bottom', 10);
padding-bottom: 24rem;
// padding-bottom: 30rem;

background: $su-color-white;
width: 100%;
max-width: 100%;
margin-bottom: -9rem;
// margin-bottom: -9rem;
// margin-bottom: -16rem;
// margin-bottom: -22rem;
margin-bottom: -26rem;
// margin-bottom: -30rem;

div.flex-10-of-12 {
justify-content: space-between;
Expand All @@ -139,8 +143,10 @@
}

.section-banner-media {
padding-top: 5rem;
// padding-top: 11rem;
.su-news-banner {
padding-top: 6rem;
// padding-top: 10rem;
}
}

.section-components {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/theme/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ footer {
}

.su-button,
.stanford-news-vertical-teaser-term .more-link a {
.stanford-news-vertical-teaser-term .more-link a,
.node.event .more-link a {
&.su-link--external {
&::after {
Expand Down

0 comments on commit bea0ea1

Please sign in to comment.