Skip to content

Commit

Permalink
add semicolons to appease a brittle parser (#1105)
Browse files Browse the repository at this point in the history
* add semicolons to appease a brittle parser

* NEWS.md entry

* Update NEWS.md

Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>

---------

Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>
  • Loading branch information
3 people authored Aug 26, 2024
1 parent 556e932 commit 5420b24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/components/scss/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ $bslib-sidebar-column-sidebar: Min(calc(100% - var(--_padding-icon)), var(--_sid
.bslib-sidebar-layout {
&, &.sidebar-right {
// Remove sidebar borders in mobile view (except always-open, added below)
> .sidebar { border: none }
> .sidebar { border: none; }

// Main area takes up entire layout area to avoid layout shift when
// sidebar is expanded as an overlay.
Expand Down
4 changes: 2 additions & 2 deletions inst/components/scss/value_box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ $bslib-value-box-horizontal-break-point: 300px !default;
@include bootstrap-heading-font-and-spacing($h6-font-size);
// add a non-breaking space to ensure it's not 0 height
&:empty::after {
content: '\00a0 '
content: '\00a0 ';
}
}

.value-box-value {
@include bootstrap-heading-font-and-spacing($h2-font-size);
// add a non-breaking space to ensure it's not 0 height
&:empty::after {
content: '\00a0 '
content: '\00a0 ';
}
}

Expand Down

0 comments on commit 5420b24

Please sign in to comment.