refactor(ui): standardize the border radius (#1920)

Impact:
- Increase the border radius of inline code and `<kbd>` tags
- Variable `$base-radius` renamed to `$radius-lg`
This commit is contained in:
Cotes Chung
2024-08-25 18:17:38 +08:00
committed by GitHub
parent 5f4dab1745
commit 31e19c6d0f
7 changed files with 12 additions and 11 deletions

View File

@@ -102,9 +102,9 @@ code {
&.highlighter-rouge {
font-size: $code-font-size;
padding: 3px 6px;
padding: 3px 5px;
word-break: break-word;
border-radius: 4px;
border-radius: $radius-sm;
background-color: var(--inline-code-bg);
}
@@ -261,7 +261,7 @@ div {
.content > & {
@include ml-mr(0);
border-radius: $base-radius;
border-radius: $radius-lg;
}
.code-header {