Skip to content

Commit

Permalink
remove overflow scroll from person overview and edit view
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Feb 27, 2024
1 parent 8f7bbcf commit 292b2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/people/edit.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%turbo-frame{id: "#{dom_id @person}"}
= form_with model: @person do |form|
%div.d-flex.justify-content-between.flex-lg-row.flex-md-row.flex-sm-column.flex-column.overflow-scroll
%div.d-flex.justify-content-between.flex-xl-row.flex-lg-column.flex-md-column.flex-sm-column.flex-column
%div.pe-5
%img.rounded-circle{src: "/api/people/#{@person.id}/picture", width: '141', height: '141'}
= form.file_field :picture
Expand Down
2 changes: 1 addition & 1 deletion app/views/people/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
's Profile

%turbo-frame{id: "#{dom_id @person}"}
%div.d-flex.justify-content-between.flex-lg-row.flex-md-row.flex-sm-column.flex-column.overflow-scroll
%div.d-flex.justify-content-between.flex-lg-row.flex-md-row.flex-sm-column.flex-column
%div
%img.rounded-circle{src: "/api/people/#{@person.id}/picture", width: '141', height: '141'}
%div.mt-3= link_to "Bearbeiten", edit_person_path
Expand Down

0 comments on commit 292b2b9

Please sign in to comment.