Skip to content

Commit

Permalink
Undo margin-bottom where appropiate when the parent of a dynamic UI s…
Browse files Browse the repository at this point in the history
…lot is a gap-spacing context (#993)

* Close #992. Undo margin-bottom where appropiate when the parent of a dynamic UI slot is a gap-spacing context

* Update news

* Resave distributed files (GitHub Action)

* Resave data (GitHub Action)

* touch news

* Resave distributed files (GitHub Action)

---------

Co-authored-by: cpsievert <[email protected]>
  • Loading branch information
cpsievert and cpsievert authored Feb 27, 2024
1 parent 469b36a commit de30e53
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

* Fixed an issue where the page might be given a window title of `NA` if the primary `title` argument of a page function, such as `page_sidebar()`, is `NULL` or a suitable window title could not be inferred. (#933)

* `uiOutput()` no longer yields unwanted double padding when it's parent container uses `gap` for spacing multiple elements (e.g., `layout_columns()`, `page_fillable()`, etc). (#992)

# bslib 0.6.1

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
6 changes: 6 additions & 0 deletions inst/bslib-scss/spacer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ $spacer: 1rem !default;
> .bslib-mb-spacing, > .form-group, > p, > pre {
margin-bottom: 0;
}
// Make sure to get similar behavior in a uiOutput()/renderUI() context
> .shiny-html-output {
> .bslib-mb-spacing, > .form-group, > p, > pre {
margin-bottom: 0;
}
}
}

// We generally don't want mb spacing for _activated_ fill items
Expand Down
2 changes: 1 addition & 1 deletion inst/css-precompiled/3/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/css-precompiled/4/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/css-precompiled/5/bootstrap.min.css

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified inst/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit de30e53

Please sign in to comment.