Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(docs): code example bottom margin
  • Loading branch information
MaxLardenois committed Sep 25, 2025
commit bf7f8a993df4ba62fa90d76b25b100892b35cf94
8 changes: 5 additions & 3 deletions site/src/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,10 @@
position: relative;
padding: .75rem .75rem 0; // OUDS mod: instead of ` padding: .75rem ($bd-gutter-x * .5)`
white-space: nowrap; // OUDS mod
background-color: var(--bd-pre-bg);

*:has(> &) {
background-color: var(--bd-pre-bg);
}

@include media-breakpoint-up(md) {
padding-right: 3.5rem; // OUDS mod: instead of `padding: .75rem 1.25rem`
Expand All @@ -398,8 +401,7 @@

pre {
padding: 0 0 .75rem; // OUDS mod: instead of `padding: .25rem 0 .875rem`
margin-top: .5rem; // OUDS mod: instead of `margin-top: .8125rem`
margin-bottom: 0;
margin: .5rem 0; // OUDS mod: instead of `margin-top: .8125rem` & `margin-top: 0`
overflow: overlay;
white-space: pre;
background-color: transparent;
Expand Down
Loading