Skip to content

Commit

Permalink
templates: fix indentation in SASS component
Browse files Browse the repository at this point in the history
This fixes the following build error

```
ERROR in ./source/index.sass
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Illegal nesting: Only properties may be nested beneath properties.
        on line 14 of source/components/app.sass
>>                      .title {

   ---^
```
  • Loading branch information
aalemayhu committed Sep 26, 2019
1 parent f80f0d5 commit b236f5a
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
flex-direction: column
padding: 60px 0

.title
font-size: 20px
border: 4px solid white
font-weight: 500
padding: 7px 15px
text-align: center
border-radius: 10px
letter-spacing: 5px
margin: 0
.title
font-size: 20px
border: 4px solid white
font-weight: 500
padding: 7px 15px
text-align: center
border-radius: 10px
letter-spacing: 5px
margin: 0

.content
display: flex
Expand Down

0 comments on commit b236f5a

Please sign in to comment.