Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

chore[Op#50212]: remove unneeded header grid layout

Kabiru Mwenja11188f2d7058
diff --git a/modules/storages/app/components/storages/admin/storage_view_component.html.erb b/modules/storages/app/components/storages/admin/storage_view_component.html.erb
index cab0777937c..e27e28710e7 100644
--- a/modules/storages/app/components/storages/admin/storage_view_component.html.erb
+++ b/modules/storages/app/components/storages/admin/storage_view_component.html.erb
@@ -1,11 +1,7 @@
<%=
render(Primer::Beta::BorderBox.new) do |component|
component.with_header(color: :default) do
- grid_layout('op-storage-view--header', tag: :div, align_items: :center) do |grid|
- grid.with_area(:item, tag: :div) do
- render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.file_storage_view.general_information') }
- end
- end
+ render(Primer::Beta::Text.new(font_weight: :semibold)) { I18n.t('storages.file_storage_view.general_information') }
end
component.with_row(scheme: :default) do
diff --git a/modules/storages/app/components/storages/admin/storage_view_component.sass b/modules/storages/app/components/storages/admin/storage_view_component.sass
index 34dd64cc293..9567cf3d246 100644
--- a/modules/storages/app/components/storages/admin/storage_view_component.sass
+++ b/modules/storages/app/components/storages/admin/storage_view_component.sass
@@ -1,7 +1,3 @@
-.op-storage-view--header
- display: grid
- grid-template-columns: 1fr
- grid-template-areas: "item"
.op-storage-view--row
display: grid
grid-template-columns: 3fr 1fr