Skip to content

Commit

Permalink
fix formatting for logged out users
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Oct 17, 2024
1 parent 4daee7e commit c7d13ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2198,6 +2198,7 @@ input.lookup_search_input:focus {
}

.quick_button_sub_container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 80px;
Expand Down
4 changes: 2 additions & 2 deletions app/views/locations/_render_location_detail.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
=link_to new_user_session_path, :class => "no_underline" do
%div.sub_nav_item.add_machine_location_toggle
=icon_path3
%div.quick_button_desc Add a machine
%div.quick_button_desc Add a machine
- else
= quick_buttons('add_machine_location', icon_path3, l)
%div.quick_button_desc Add a machine
Expand All @@ -47,7 +47,7 @@
=link_to new_user_session_path, :class => "no_underline" do
%div.sub_nav_item.add_picture_location_toggle
=icon_path4
%div.quick_button_desc Upload a picture
%div.quick_button_desc Upload a picture
- else
= quick_buttons('add_picture_location', icon_path4, l)
%div.quick_button_desc Upload a picture
Expand Down

0 comments on commit c7d13ac

Please sign in to comment.