diff options
author | 2019-08-31 18:42:19 +0200 | |
---|---|---|
committer | 2019-08-31 18:42:19 +0200 | |
commit | 11044d25369916067f0bba648f8e8460942c6477 (patch) | |
tree | 5d217483a2a54d8ef65fa26ef51413b25b86e930 | |
parent | Added docker-compose.override.yml for development purposes (diff) | |
download | packages-5-sticky-footer.tar.gz packages-5-sticky-footer.tar.bz2 packages-5-sticky-footer.zip |
Added a quick fix for a sticky footersticky-footer
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r-- | app/views/layouts/application.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index e368790..5b1b652 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -8,6 +8,16 @@ <meta name="description" content="<%= "#{@description} in the " if @description %>Gentoo Packages Database"> <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> + + <!-- sticky footer --> + <style> + footer { + position: absolute; + bottom: 0; + width: 100%; + } + </style> + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <script src="https://assets.gentoo.org/tyrian/bootstrap.min.js"></script> |