Skip to content

Commit

Permalink
Merge pull request #380 from ASUWebPlatforms/ws2-1577
Browse files Browse the repository at this point in the history
WS2-1577 - Removed superfluous padding from 'Card and Image' block
  • Loading branch information
mlsamuelson authored Apr 27, 2023
2 parents ad79a40 + c730f95 commit 8455fdd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/components/image-text-block/_image-text-block.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
.block-inline-blockimage-and-text-block {
.uds-image-text-block-text-container {
padding: $uds-size-spacing-6;

// Recommended by Debbie Flitner.
:is(h2, h3, h4, h5, h6):first-of-type {
margin-top: 0;
}

// Workaround recommended by Debbie Flitner.
@media screen and (min-width: $uds-breakpoint-lg) {
.col-12 {
&.py-1 {
padding-bottom: 0 !important;
padding-top: 0 !important;
}
}
}
}
}

0 comments on commit 8455fdd

Please sign in to comment.