1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

boxshadow added as border

This commit is contained in:
Umang G. Patel 2022-09-19 21:48:04 +05:30
parent 80f3a594fe
commit 5cc520ba29

View file

@ -151,11 +151,11 @@
transition-property: background-color;
transition-duration: 0.1s;
@apply --squircle;
border: 2px solid transparent;
&--selected {
border: 2px solid rgba(147, 166, 233, 0.5);
border-radius: 8px;
/* border using box-shadow which doesn't increase the height */
box-shadow: 0 0 0 2px rgba(147, 166, 233, 0.5) inset;
}
}