diff options
| author | Volpeon <git@volpeon.ink> | 2026-01-21 11:27:04 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-01-21 11:27:04 +0100 |
| commit | 9df4a41f916389715d505730268459326068e9b6 (patch) | |
| tree | 7a8cb45794dae8d5c75df35eda6e05d4661def4e /src/_contexts.scss | |
| parent | Make use of SASS modules (diff) | |
| download | iro-sass-9df4a41f916389715d505730268459326068e9b6.tar.gz iro-sass-9df4a41f916389715d505730268459326068e9b6.tar.bz2 iro-sass-9df4a41f916389715d505730268459326068e9b6.zip | |
Diffstat (limited to 'src/_contexts.scss')
| -rw-r--r-- | src/_contexts.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_contexts.scss b/src/_contexts.scss index ed376a2..e766321 100644 --- a/src/_contexts.scss +++ b/src/_contexts.scss | |||
| @@ -241,7 +241,8 @@ $stacks: (); | |||
| 241 | @return false; | 241 | @return false; |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | $end-idx: if($check-head-only, list.length($context-stack), 1); | 244 | $end-idx: if(sass($check-head-only): list.length($context-stack); else: 1); |
| 245 | |||
| 245 | 246 | ||
| 246 | @for $i from list.length($context-stack) through $end-idx { | 247 | @for $i from list.length($context-stack) through $end-idx { |
| 247 | $context: list.nth($context-stack, $i); | 248 | $context: list.nth($context-stack, $i); |
