Skip to content

Commit

Permalink
chore[Op#50212]: remove unneeded header grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
akabiru committed Oct 26, 2023
1 parent f86f0e3 commit 11188f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 11188f2

Please sign in to comment.