Skip to content

Commit

Permalink
fix issue where the footer shift up from the bottom if the page is small
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed May 8, 2023
1 parent 926bbc1 commit 71083c7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/annotator/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%head
= javascript_include_tag "bp_annotator"

%div.container-fluid
%div.container-fluid.flex-grow-1
%div.row
%div.col
%h2.mt-3 Annotator
Expand Down
2 changes: 1 addition & 1 deletion app/views/annotatorplus/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%head
= javascript_include_tag "bp_annotatorplus"

%div.container-fluid
%div.container-fluid.flex-grow-1
%div.row
%div.col
%h2.mt-3 Annotator +
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
<body class="<%= controller_name %> <%= action_name %>">
<%=render partial: 'layouts/topnav'%>

<div class="container-fluid">
<div class="container-fluid flex-grow-1">
<%=render partial: 'layouts/notices'%>
2 changes: 1 addition & 1 deletion app/views/layouts/appliance.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%body{:class => "#{controller_name} #{action_name}"}
= render partial: "layouts/topnav"

%div.container-fluid
%div.container-fluid.flex-grow-1
= render partial: "layouts/notices"
= render TurboModalComponent.new(id: 'application_modal')
= yield
Expand Down
2 changes: 1 addition & 1 deletion app/views/mappings/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- @title = "Mappings"
%div#mappings_container.container-fluid.py-4
%div#mappings_container.container-fluid.py-4.flex-grow-1
%h1.my-1 Mappings

%div#mappings_uploader.my-2
Expand Down
2 changes: 1 addition & 1 deletion app/views/ncbo_annotatorplus/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%head
= javascript_include_tag "bp_annotator"

%div.container-fluid.annotator
%div.container-fluid.annotator.flex-grow-1
%div.row
%div.col
%h2.mt-3 NCBO Annotator +
Expand Down

0 comments on commit 71083c7

Please sign in to comment.