Przeglądaj źródła

feat: add optional fullscreen class for widgets

George Cushen 4 lat temu
rodzic
commit
70861b33c8
1 zmienionych plików z 10 dodań i 0 usunięć
  1. 10 0
      assets/scss/academic/_widgets.scss

+ 10 - 0
assets/scss/academic/_widgets.scss

@@ -19,6 +19,16 @@
   animation-delay: 0.15s;
 }
 
+// Responsive fullscreen option for widgets
+.home-section.fullscreen {
+  min-height: calc(100vh - 70px);
+}
+@include media-breakpoint-down(md) {
+  .home-section.fullscreen {
+    min-height: calc(100vh - 50px);
+  }
+}
+
 /* Override dark colors that may be inherited from body.dark */
 .home-section.dark,
 .home-section.dark h1,