From 283b31a79e67bf5551a11f2c39ec1aadae6fe29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 16 Aug 2023 17:34:47 +0300 Subject: [PATCH] Rounded bottom for code sections --- assets/styles/layout/_doc.scss | 9 ++++++- components/doc/DocSectionCode.vue | 42 +++++++++++++++---------------- 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index d558d1447..837ce668c 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -205,6 +205,13 @@ } } +.doc-section-buttons { + gap: .75rem; + padding: .75rem 0 0; + border-top-left-radius: 10px; + border-top-right-radius: 10px; +} + .doc-section-code-tooltip .p-tooltip-text { padding: 0.5rem; font-size: 11px; @@ -229,7 +236,7 @@ } pre { - margin: 0 0 1.5rem 0; + margin: 0; } } diff --git a/components/doc/DocSectionCode.vue b/components/doc/DocSectionCode.vue index 38773f14c..05e914dea 100644 --- a/components/doc/DocSectionCode.vue +++ b/components/doc/DocSectionCode.vue @@ -1,6 +1,6 @@