Fix some typos

This commit is contained in:
Natalie Weizenbaum 2019-01-04 15:04:18 -05:00
parent 7ee1b68df5
commit 62fa63b67a
4 changed files with 6 additions and 6 deletions

View File

@ -335,8 +335,8 @@ module SassHelpers
end end
content_tag :tr, [ content_tag :tr, [
content_tag(:th, name, class: 'name'), content_tag(:td, name, class: 'name'),
content_tag(:th, status_text, class: 'status'), content_tag(:td, status_text, class: 'status'),
], class: status ? 'supported' : 'unsupported' ], class: status ? 'supported' : 'unsupported'
end end

View File

@ -106,8 +106,8 @@ interpolation in SassScript always returns an unquoted string.
<% fun_fact do %> <% fun_fact do %>
Interpolation is useful for injecting values into strings, but other than that Interpolation is useful for injecting values into strings, but other than that
it's rarely necessary in SassScript expressions. You definitely *don't* need it's rarely necessary in SassScript expressions. You definitely *don't* need
it to just use a variable in a property value. Instead of writing `color: it to just use a variable in a property value. Instead of writing
#{$accent}`, you can just write `color: $accent`! `color: #{$accent}`, you can just write `color: $accent`!
<% end %> <% end %>
<% heads_up do %> <% heads_up do %>

View File

@ -2,7 +2,7 @@
title: Syntax title: Syntax
introduction: > introduction: >
Sass supports two different syntaxes. Each one can import the other, so it's Sass supports two different syntaxes. Each one can import the other, so it's
up to your and your team which one to choose. up to you and your team which one to choose.
--- ---
## SCSS ## SCSS

View File

@ -33,7 +33,7 @@ variable, just include it in a value.
<% heads_up do %> <% heads_up do %>
CSS has [variables of its own][], which are totally different than Sass CSS has [variables of its own][], which are totally different than Sass
Lvariables. Know the differences! variables. Know the differences!
[variables of its own]: ../style-rules/declarations#custom-properties [variables of its own]: ../style-rules/declarations#custom-properties