From c501836824f93833ca595505eaa06311613874bf Mon Sep 17 00:00:00 2001 From: Aaron Shekey Date: Tue, 5 Apr 2022 15:20:06 -0500 Subject: [PATCH] Some aesthetic choices --- docs/assets/less/stacks-documentation.less | 15 +++++++++++++++ docs/plugins/copy-button.js | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/assets/less/stacks-documentation.less b/docs/assets/less/stacks-documentation.less index dec4011f89..293b7d81b8 100644 --- a/docs/assets/less/stacks-documentation.less +++ b/docs/assets/less/stacks-documentation.less @@ -231,6 +231,20 @@ white-space: normal; } +// ============================================================================ +// $ CODE COPY BUTTON +// ---------------------------------------------------------------------------- +.stacks-copy-btn { + .svg-icon, + .svg-icon * { + pointer-events: none; + } + + .iconCheckmark { + color: var(--green-500); + } +} + // ============================================================================ // $ LISTS @@ -260,6 +274,7 @@ border-radius: var(--br-md) var(--br-md) 0 0; border: 1px solid var(--bc-medium); max-height: 24rem; + padding-right: var(--su32); .dark-mode({ border-color: var(--bc-lighter); diff --git a/docs/plugins/copy-button.js b/docs/plugins/copy-button.js index 8f5af2f088..56ee6abaf4 100644 --- a/docs/plugins/copy-button.js +++ b/docs/plugins/copy-button.js @@ -6,7 +6,7 @@ module.exports = { var tooltipId = "tooltip-" + (name || Math.floor(Math.random() * 1000)); var output = `