From 66e762572454f4b4445b23043cf188ad95f0edb2 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 18 Nov 2022 17:37:34 +0100 Subject: [PATCH] Add a border radius to X-Y pad tooltip To match the text input box. It adds a bit of flair to a plugin that's otherwise 100% flat with straight lines and 90 degree angles. --- plugins/diopser/src/editor/theme.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/diopser/src/editor/theme.css b/plugins/diopser/src/editor/theme.css index 976f19f4..49f23563 100644 --- a/plugins/diopser/src/editor/theme.css +++ b/plugins/diopser/src/editor/theme.css @@ -47,6 +47,8 @@ xy-pad .xy-pad__tooltip { background-color: #e5e5e5; border-color: #0a0a0a; border-width: 1px; + /* This mimics the text box border radius, everything else is squared off so this adds a bit of flair */ + border-radius: 3px; width: auto; height: auto; child-right: 5px;