Fussy capitalization for shared text

This commit is contained in:
Jason Zimdars
2025-10-31 11:18:25 -05:00
parent 65c3dba574
commit c7b520180c
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@
.txt-break { word-break: break-word; }
.txt-uppercase { text-transform: uppercase; }
.txt-capitalize { text-transform: capitalize; }
.txt-capitalize-first-letter::first-letter { text-transform: capitalize; }
.txt-link { color: var(--color-link); text-decoration: underline; }
.font-weight-black { font-weight: 900; }
+1 -1
View File
@@ -23,7 +23,7 @@ module Filter::Resources
def collection_titles
if collections.none?
Collection.one? ? [ Collection.first.name ] : [ "All boards" ]
Collection.one? ? [ Collection.first.name ] : [ "all boards" ]
else
collections.map(&:name)
end
+1 -1
View File
@@ -5,7 +5,7 @@
<% content_for :header do %>
<h1 class="header__title divider divider--fade full-width">
<span class="overflow-ellipsis"><%= @user_filtering.selected_collections_label %></span>
<span class="overflow-ellipsis txt-capitalize-first-letter"><%= @user_filtering.selected_collections_label %></span>
</h1>
<div class="header__actions header__actions--end">