1
0
Fork 0

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.
This commit is contained in:
Robbert van der Helm 2022-11-18 17:37:34 +01:00
parent c947d6c232
commit 66e7625724

View file

@ -47,6 +47,8 @@ xy-pad .xy-pad__tooltip {
background-color: #e5e5e5; background-color: #e5e5e5;
border-color: #0a0a0a; border-color: #0a0a0a;
border-width: 1px; 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; width: auto;
height: auto; height: auto;
child-right: 5px; child-right: 5px;