diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index af7fe9fe4..12e9e66cd 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -19,7 +19,7 @@ li { position: relative; z-index: 1; - + button { background-color: transparent; border: 0 none; @@ -108,6 +108,14 @@ @include focus-visible(); } + > .doc-section-label-badge { + margin-left: 0.5rem; + } + + &:has(.doc-section-label-badge) { + line-height: 1; + } + &:hover { > a { display: block; @@ -230,9 +238,9 @@ } } -.doc-section-code { +.doc-section-code { position: relative; - + div { &::-webkit-scrollbar { width: 5px; @@ -264,7 +272,7 @@ padding: 2px; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .1); - + button { outline: 0 none; border-radius: 8px; diff --git a/components/doc/DocApiTable.vue b/components/doc/DocApiTable.vue index fc2706a09..da7e65cde 100644 --- a/components/doc/DocApiTable.vue +++ b/components/doc/DocApiTable.vue @@ -1,5 +1,5 @@