Ver Fonte

fix: btn style

George Cushen há 5 anos atrás
pai
commit
6f36c1624c
2 ficheiros alterados com 2 adições e 1 exclusões
  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 {
 .btn {
   padding: .5rem;
   padding: .5rem;
   font-size: .8rem;
   font-size: .8rem;
-  line-height: .5;
+  line-height: .9;  // Anything less and multiline button text may overlap.
   border-radius: .3rem;
   border-radius: .3rem;
 }
 }
 
 

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

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