This commit is contained in:
24c02 2026-02-03 19:33:12 -05:00
parent ce0998b5ba
commit bfb165d882

View file

@ -48,9 +48,9 @@ class Components::Uploads::Row < Components::Base
def full_content def full_content
div(style: "flex: 1; min-width: 0;") do 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) 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 plain upload.filename.to_s
end end
render(Primer::Beta::Label.new(scheme: :secondary)) { plain upload.provenance.titleize } render(Primer::Beta::Label.new(scheme: :secondary)) { plain upload.provenance.titleize }