Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix(ds): 给仪表盘尺寸控件加焦点环 (#2364)

Orange🍊59b2e59a4ae4
diff --git a/app/views/pages/dashboard.html.erb b/app/views/pages/dashboard.html.erb
index c804f0c1b3..65e3cc4c0a 100644
--- a/app/views/pages/dashboard.html.erb
+++ b/app/views/pages/dashboard.html.erb
@@ -96,7 +96,7 @@
data-dashboard-widget-size-section-key-value="<%= section[:key] %>"
data-action="keydown->dashboard-widget-size#stopKeydown">
<summary
- class="list-none cursor-pointer text-secondary hover:text-primary transition-colors p-0.5 opacity-0 group-hover:opacity-100 [&::-webkit-details-marker]:hidden"
+ class="focus-ring list-none cursor-pointer text-secondary hover:text-primary transition-colors p-0.5 opacity-0 group-hover:opacity-100 [&::-webkit-details-marker]:hidden"
aria-label="<%= t("pages.dashboard.widget_size.label") %>">
<%= icon("sliders-horizontal", size: "sm", class: "!w-3.5 !h-3.5") %>
</summary>