瀏覽代碼

fix the general and services

DevVad 3 年之前
父節點
當前提交
365a7dea32

+ 1 - 2
src/assets/styles/blocks/general.styl

@@ -39,8 +39,7 @@
     margin 0
     padding 0
 
-  &__column
-    position absolute
+  
 
   &__main-illustration
     width 870px

+ 6 - 7
src/assets/styles/blocks/service.styl

@@ -90,6 +90,11 @@
     margin 0
     padding 0
 
+.wrap
+  position absolute
+  right 135px
+  top 74px
+
   &__subtitle
     font-size 18px
     line-height 32px
@@ -104,10 +109,4 @@
     font-weight 800
     margin 0
     padding 0
-    text-align right
-
-  &__wrap
-    position absolute
-    right 135px
-    bottom -374px
-    object-position right bottom
+    text-align right

+ 2 - 3
src/templates/blocks/general/general.pug

@@ -7,9 +7,8 @@ mixin general()
         br
         | Great Designs
       +e.BUTTON.button(type='submit') Contacts us
-    div 
+    DIV 
       +e.IMG.main-illustration(src='../../../assets/images/Bitmap.png' alt='Chandelier')
       +e.IMG.button-play(src='../../../assets/images/button-play.svg' alt='Button Play')
-      +e.button.button(type='submit')
-        +e.IMG.button-triangle(src='../../../assets/images/button-play-triangle.svg' alt='Button Play')
+      +e.IMG.button-triangle(src='../../../assets/images/button-play-triangle.svg' alt='Button Play')
       +e.IMG.shape(src='../../../assets/images/general-shape.svg' alt='shape')

+ 1 - 1
src/templates/blocks/service/service.pug

@@ -1,6 +1,6 @@
 mixin service()
   +b.SECTION.service
-    +e.wrap
+    +b.wrap
       +e.H2.subtitle Our Service
       +e.H1.title
         | Architectural