diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index 837ce668c..8de1138fa 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -205,11 +205,16 @@ } } -.doc-section-buttons { +.doc-section-code-buttons { gap: .75rem; padding: .75rem 0 0; border-top-left-radius: 10px; border-top-right-radius: 10px; + + .p-button-label { + font-weight: normal; + font-size: 0.875rem; + } } .doc-section-code-tooltip .p-tooltip-text { @@ -224,17 +229,6 @@ } } - .p-button-label { - font-weight: normal; - font-size: 0.875rem; - } - - .doc-section-code-active { - .p-button-label { - font-weight: bold; - } - } - pre { margin: 0; } diff --git a/components/doc/DocSectionCode.vue b/components/doc/DocSectionCode.vue index d71b49f7a..1ca9f9c84 100644 --- a/components/doc/DocSectionCode.vue +++ b/components/doc/DocSectionCode.vue @@ -1,14 +1,14 @@