Skip to content

Commit

Permalink
remove useless bd-gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahiss committed Oct 11, 2024
1 parent defbf89 commit dbb7ba0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
10 changes: 0 additions & 10 deletions site/assets/scss/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
.bd-gutter { // TODO
--bs-gutter-x: #{$bd-gutter-x * 2}; // OUDS mod: changed value

// OUDS mod
@include media-breakpoint-up(md) {
--bs-gutter-x: #{$bd-gutter-x * 4};
}
// End mod
}

.bd-layout {
@include media-breakpoint-up(lg) {
display: grid;
Expand Down
4 changes: 2 additions & 2 deletions site/assets/scss/_scrolling.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ main {
scroll-margin-bottom: 100px;

@include media-breakpoint-up(md) {
.header-minimized ~ .bd-gutter & {
.header-minimized ~ .container-fluid.max-width-specific-tools & {
scroll-margin-top: 8.5rem;
}
}

@include media-breakpoint-up(lg) {
.header-minimized ~ .bd-gutter & {
.header-minimized ~ .container-fluid.max-width-specific-tools & {
scroll-margin-top: 5.5rem;
}
}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/_default/docs.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "body_override" }}<body{{ if (eq .Page.Params.toc true) }} data-bs-spy="scroll" data-bs-target="#TableOfContents"{{ end }}>{{ end }}
{{ define "main" }}
<div class="container-fluid max-width-specific-tools bd-gutter mt-3 my-md-4 bd-layout">
<div class="container-fluid max-width-specific-tools mt-3 my-md-4 bd-layout">
<aside class="bd-sidebar">
<div class="offcanvas-lg offcanvas-start" tabindex="-1" id="bdSidebar" aria-labelledby="bdSidebarOffcanvasLabel">
<div class="offcanvas-header border-bottom">
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/_default/home.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<main>
{{ partial "home/masthead" . }}
<div class="container-fluid max-width-specific-tools bd-gutter masthead-followup">
<div class="container-fluid max-width-specific-tools masthead-followup">
{{ partial "home/get-started" . }}
{{ partial "home/customize" . }}
{{ partial "home/css-variables" . }}
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 class="display-1">{{ .Title | markdownify }}</h1>
</div>
</div>
<div class="pb-4 pb-md-2">
<div class="container-fluid max-width-specific-tools bd-gutter pt-md-2 pb-md-4">
<div class="container-fluid max-width-specific-tools pt-md-2 pb-md-4">
<div class="row">
<div class="col-12">
<p class="ll-sm h3 mb-4">{{ .Page.Params.Description | markdownify }}</p>
Expand All @@ -29,7 +29,7 @@ <h1 class="display-1">{{ .Title | markdownify }}</h1>
</div>
</div>
</div>
<div class="container-fluid max-width-specific-tools bd-gutter">
<div class="container-fluid max-width-specific-tools">
{{ .Content }}

{{ if eq .Title "Examples" -}}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/home/masthead.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="bd-masthead mb-3" id="content">
<div class="container-fluid max-width-specific-tools bd-gutter">
<div class="container-fluid max-width-specific-tools">
<div class="col-md-8 mx-auto text-center pt-lg-5">
<!--
<p class="d-flex flex-column flex-lg-row justify-content-center align-items-center mb-4 text-dark lh-sm text-decoration-none">
Expand Down

0 comments on commit dbb7ba0

Please sign in to comment.