Skip to content

Instantly share code, notes, and snippets.

@csavoronin
Created August 21, 2025 13:25
Show Gist options
  • Select an option

  • Save csavoronin/5725edc1683fd1a4c7d3a641be25bcc1 to your computer and use it in GitHub Desktop.

Select an option

Save csavoronin/5725edc1683fd1a4c7d3a641be25bcc1 to your computer and use it in GitHub Desktop.
[!] Admin panel: UI/UX: The choose input was not displayed correctly. Fixed.
diff --git a/design/backend/css/tygh/utils/categories.less b/design/backend/css/tygh/utils/categories.less
index e2223bfce1b7e85058a797e66c8626d4de74ecb7..c52f95e927beb2f0774594fb3b89819a9fc259aa 100644
--- a/design/backend/css/tygh/utils/categories.less
+++ b/design/backend/css/tygh/utils/categories.less
@@ -17,7 +17,7 @@
.choose-input {
width: 220px;
input[type="text"] {
- width: 181px;
+ width: ~"calc(220px - (var(--cs-icon-size) + 12px * 2 + 1px * 2) + 1px)";
}
.add-on{
padding-left: 12px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment