Skip to content

Commit

Permalink
improve standard sidebar layout gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Oct 4, 2024
1 parent d441543 commit bdc9bfe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/standard_layout.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ standard_layout <- function(output,
}

bslib::page_fluid(
# class = "teal-widgets standard-layout",
class = "teal-widgets standard-layout-wrapper",
tag_enc_out
)
}
13 changes: 13 additions & 0 deletions inst/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,16 @@
.teal-widgets.button-click-observer .modal-body {
padding: 0 1.5rem;
}

.teal-widgets.standard-layout .bslib-mb-spacing {
margin-bottom: 0;
}

/* TODO: Bad implementation, this is because white well is called inside standard layout. */
.teal-widgets.standard-layout .standard-layout-output > .well{
border: none;
}

.teal-widgets.standard-layout-wrapper {
padding-right: 0;
}

0 comments on commit bdc9bfe

Please sign in to comment.