فهرست منبع

fix: btn style

George Cushen 5 سال پیش
والد
کامیت
6f36c1624c
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      assets/scss/academic/_root.scss
  2. 1 0
      assets/scss/academic/_widgets.scss

+ 1 - 1
assets/scss/academic/_root.scss

@@ -442,7 +442,7 @@ a.badge:hover {
 .btn {
   padding: .5rem;
   font-size: .8rem;
-  line-height: .5;
+  line-height: .9;  // Anything less and multiline button text may overlap.
   border-radius: .3rem;
 }
 

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

@@ -12,6 +12,7 @@
 }
 
 .home-section {
+  position: relative;  // Required for component positioning within section.
   background-color: $sta-home-section-odd;
   padding: 110px 0 110px 0;
   animation: intro 0.3s both;