ソースを参照

Add CSS to keep footer always at the bottom

Stasiek Michalski 7 年 前
コミット
ddbf0adb67
1 ファイル変更12 行追加0 行削除
  1. 12 0
      resources/assets/sass/custom.scss

+ 12 - 0
resources/assets/sass/custom.scss

@@ -1,3 +1,15 @@
+html, body {
+  min-height:100vh;
+}
+
+body {
+  display: flex;
+  flex-flow: column;
+}
+
+#content {
+  margin-bottom: auto !important;
+}
 body, button, input, textarea {
 body, button, input, textarea {
     font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",
     font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",
                  Roboto,Helvetica,Arial,sans-serif;
                  Roboto,Helvetica,Arial,sans-serif;