From c8d23163f37c411c931f3132ac3af4ad7edfe82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20B=C4=82LTEANU?= Date: Tue, 18 Aug 2026 22:59:42 +0300 Subject: [PATCH] Add SVG caret to account menu (#44293). --- app/assets/stylesheets/application.css | 7 ++++++- app/assets/stylesheets/dropdown.css | 1 + app/views/layouts/base.html.erb | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 4744d6666..388e29b68 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -107,7 +107,12 @@ nav.top-menu { text-decoration: none; } -.top-menu__links svg.icon-svg { +.top-menu__links svg.icon-svg, #account .dropdown-trigger .icon-svg { + stroke: var(--oc-gray-1); + transition: stroke 0.18s ease; +} + +.top-menu__links a:hover svg.icon-svg, #account .dropdown-trigger:hover .icon-svg { stroke: var(--oc-white); } diff --git a/app/assets/stylesheets/dropdown.css b/app/assets/stylesheets/dropdown.css index 035426c1c..e8a387336 100644 --- a/app/assets/stylesheets/dropdown.css +++ b/app/assets/stylesheets/dropdown.css @@ -7,6 +7,7 @@ .dropdown-trigger { display: flex; align-items: center; + gap: 4px; cursor: pointer; padding-block: 2px; text-decoration: none; diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index b294a2bff..e4ffb42ec 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -68,6 +68,7 @@