From d118e3347bff47e066918425b3c1d5b28ac68c9e Mon Sep 17 00:00:00 2001 From: yuanyxh <15766118362@139.com> Date: Mon, 30 Sep 2024 16:26:41 +0800 Subject: [PATCH] style: provider css --- src/viewer/styles/Provider.module.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/viewer/styles/Provider.module.less b/src/viewer/styles/Provider.module.less index 934323d..59ba37a 100644 --- a/src/viewer/styles/Provider.module.less +++ b/src/viewer/styles/Provider.module.less @@ -1,6 +1,5 @@ code { font-family: var(--font-family-code); - // background-color: rgb(127 127 127 / 12%); border-radius: var(--border-radius-base); } @@ -331,6 +330,7 @@ code { code { &.inline { padding: 1px 4px; + background-color: rgb(0 0 0 / 6%); } } @@ -367,6 +367,14 @@ code { background-color: #1d1e1f; } } + + code { + &.inline { + padding: 1px 4px; + background-color: inherit; + border: 1px solid rgb(255 255 255 / 20%); + } + } } @media screen and (width <= 1366px) {