Explorar o código

feat: add optional fullscreen class for widgets

George Cushen %!s(int64=4) %!d(string=hai) anos
pai
achega
70861b33c8
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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,