From 0034b4e8a7d2efd90ac1056a145865725f869b56 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 16 Oct 2023 11:23:46 +0200 Subject: [PATCH] feat: style queries a bit nicer :) (#532) --- plugs/query/assets/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/plugs/query/assets/style.css b/plugs/query/assets/style.css index df1f5bf4..663e1756 100644 --- a/plugs/query/assets/style.css +++ b/plugs/query/assets/style.css @@ -36,11 +36,17 @@ body:active #button-bar { #button-bar { position: absolute; - right: 12px; - top: 3px; + right: 6px; + top: 6px; display: none; - background: rgb(255 255 255 / 0.9); - padding: 0 3px; + background: var(--editor-directive-background-color); + padding-inline: 3px; + padding-bottom: 1px; + border-radius: 5px; +} + +.cm-editor { + padding-left: 10px; } #button-bar button { @@ -62,4 +68,4 @@ li code { iframe { border: none; width: 100%; -} \ No newline at end of file +}