From bfb165d882371da3693ee9f41db7d2bdb4193b76 Mon Sep 17 00:00:00 2001 From: 24c02 <163450896+24c02@users.noreply.github.com> Date: Tue, 3 Feb 2026 19:33:12 -0500 Subject: [PATCH] css? --- app/components/uploads/_row.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/uploads/_row.rb b/app/components/uploads/_row.rb index 5ae4093..35e1be2 100644 --- a/app/components/uploads/_row.rb +++ b/app/components/uploads/_row.rb @@ -48,9 +48,9 @@ class Components::Uploads::Row < Components::Base def full_content div(style: "flex: 1; min-width: 0;") do - div(style: "display: flex; align-items: center; gap: 8px; margin-bottom: 8px;") do + div(style: "display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-width: 0;") do render Primer::Beta::Octicon.new(icon: file_icon_for(upload.content_type), size: :small) - div(style: "font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;") do + div(style: "flex: 1; min-width: 0; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;") do plain upload.filename.to_s end render(Primer::Beta::Label.new(scheme: :secondary)) { plain upload.provenance.titleize }