Fixing spacing issues in Operations list

This commit is contained in:
Sana Javed 2023-05-25 16:38:09 +02:00
parent 4f7b31d005
commit 362503edd2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
{% markdown %}
- [`==` and `!=`](/documentation/operators/equality) are used to check if two
values are the same.
- [`+`, `-`, `*`, `/`, and `%`](/documentation/operators/numeric) have their
@ -10,7 +11,10 @@
`null`.
- [`+`, `-`, and `/`](/documentation/operators/string) can be used to
concatenate strings.
{% endmarkdown %}
{% if parens %}
{% markdown %}
- [`(` and `)`](/documentation/operators#parentheses) can be used to explicitly
control the precedence order of operations.
{% endmarkdown %}
{% endif %}

View File

@ -24,7 +24,7 @@ complementary_content: |
</nav>
---
{% markdown %}
## Statements
A Sass stylesheet is made up of a series of _statements_, which are evaluated in
@ -108,9 +108,11 @@ The simplest expressions just represent static values:
### Operations
Sass defines syntax for a number of operations:
{% endmarkdown %}
{% render 'documentation/snippets/operator-list', parens:true %}
{% markdown %}
### Other Expressions
- [Variables](/documentation/variables), like `$var`.
@ -122,3 +124,4 @@ Sass defines syntax for a number of operations:
rules.
- [The parent selector](/documentation/style-rules/parent-selector), `&`.
- The value `!important`, which is parsed as an unquoted string.
{% endmarkdown %}