Project

General

Profile

Patch #44293 » 0001-Add-SVG-caret-to-account-menu-44293.patch

Marius BĂLTEANU, 2026-08-18 22:48

View differences:

app/assets/stylesheets/application.css
107 107
    text-decoration: none;
108 108
}
109 109

  
110
.top-menu__links svg.icon-svg {
110
.top-menu__links svg.icon-svg, #account .dropdown-trigger .icon-svg {
111
  stroke: var(--oc-gray-1);
112
  transition: stroke 0.18s ease;
113
}
114

  
115
.top-menu__links a:hover svg.icon-svg, #account .dropdown-trigger:hover .icon-svg {
111 116
  stroke: var(--oc-white);
112 117
}
113 118

  
app/assets/stylesheets/dropdown.css
7 7
.dropdown-trigger {
8 8
  display: flex;
9 9
  align-items: center;
10
  gap: 4px;
10 11
  cursor: pointer;
11 12
  padding-block: 2px;
12 13
  text-decoration: none;
app/views/layouts/base.html.erb
68 68
    <div id="account" class="dropdown" data-controller="dropdown">
69 69
      <a href="#" class="dropdown-trigger" data-action="click->dropdown#toggle">
70 70
        <%= avatar(User.current, :size => "22") %>
71
        <%= sprite_icon("angle-down", size: 14) %>
71 72
      </a>
72 73
      <div class="dropdown-content hidden" data-dropdown-target="content">
73 74
        <div class="user-info">
(4-4/4)