소스 검색

feat: add optional fullscreen class for widgets

George Cushen 4 년 전
부모
커밋
70861b33c8
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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,