Skip to content

Commit

Permalink
Merge pull request #1255 from UN-OCHA/berliner/HPC-9969
Browse files Browse the repository at this point in the history
HPC-9969: Prevent top padding in link-box containers
  • Loading branch information
berliner authored Dec 12, 2024
2 parents a89931b + a9f52c1 commit 5549884
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
margin-left: calc(-50vw + (var(--scrollbar-width, 15px) / 2));
}

.paragraph--type--interactive-content-2-columns .gho-interactive-content--full-width {
.paragraph--type--interactive-content-2-columns
.gho-interactive-content--full-width {
position: relative;
right: unset;
left: unset;
Expand Down Expand Up @@ -92,7 +93,7 @@
/**
* Support for 3-col interactive content.
*/
.layout--threecol--interactive-content {
.layout--threecol--interactive-content {
display: flex;
flex-wrap: wrap;
}
Expand Down
2 changes: 1 addition & 1 deletion html/themes/custom/common_design_subtheme/css/styles.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

div.link-box {
gap: 1rem;
padding: 0;
padding: 0 !important;
border: 1px solid var(--ghi-default-border-color);

& > .field--name-field-thumbnail-image {
Expand Down

0 comments on commit 5549884

Please sign in to comment.