Skip to content

Commit

Permalink
fix: Style
Browse files Browse the repository at this point in the history
We shoud not import the breakpoint within the global scope since it
doesn't work.
  • Loading branch information
Crash-- committed Jan 17, 2024
1 parent 5c85013 commit 6d15e9d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/styles/app.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@require 'tools/mixins.styl'
@require 'settings/breakpoints.styl'
@require 'settings/spaces.styl'

// overriding the general layout to allow a sticky footer
html,
Expand Down
2 changes: 0 additions & 2 deletions src/styles/hero-header.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@require 'settings/breakpoints.styl'

.hero-header
padding 3rem 4rem
+small-screen()
Expand Down
2 changes: 2 additions & 0 deletions src/styles/index.styl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@require 'settings/breakpoints.styl'

:global
@require './app.styl'
@require './hero-header.styl'
Expand Down
3 changes: 0 additions & 3 deletions src/styles/lists.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
@require 'settings/breakpoints.styl'


.app-list, .services-list, .shortcuts-list
appTileSize = 4rem
appGridGutter = 2rem
Expand Down

0 comments on commit 6d15e9d

Please sign in to comment.