Skip to content

Commit 56491fa

Browse files
committed
feat(html): --quarto-border-radius follows Bootstrap's $enable-rounded
1 parent 2bc956a commit 56491fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/resources/formats/html/_quarto-rules.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ div.ansi-escaped-output {
587587
--quarto-text-muted: #{$text-muted};
588588
--quarto-border-color: #{$table-border-color};
589589
--quarto-border-width: #{$border-width};
590-
--quarto-border-radius: #{$border-radius};
590+
--quarto-border-radius: #{if($enable-rounded == true, $border-rounded, 0)};
591591
}
592592

593593
/* rules to support GT table styling */

src/resources/formats/html/bootstrap/_bootstrap-rules.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ div.sourceCode {
835835
@if $code-block-bg {
836836
background-color: $code-block-bg-color;
837837
border: 1px solid $code-block-bg-color;
838-
border-radius: $border-radius;
838+
border-radius: var(--quarto-border-radius);
839839
} @else {
840840
background-color: $body-bg !important;
841841
border: none;

0 commit comments

Comments
 (0)