浏览代码

improves margins for header

rosenclosed 2 年之前
父节点
当前提交
44d5b1c88b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/style/_header.scss

+ 3 - 0
src/style/_header.scss

@@ -20,6 +20,8 @@ header {
         #hero-img {
             svg {
                 width: 99%;
+                margin-left: auto;
+                margin-right: auto;
                 path {
                     fill: #ffffff !important;
                 }
@@ -27,6 +29,7 @@ header {
         }
 
         #hero-text {
+            width: 90%;
             text-align: center;
         }
     }