Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit c15aa8b

Browse files
jendownsseejamescode
authored andcommitted
docs(utilities): fix fluid size utilities doc to remove stray media query line (#37)
1 parent 9ac6408 commit c15aa8b

File tree

11 files changed

+12
-24
lines changed

11 files changed

+12
-24
lines changed

examples/bootstrap/css-gridish/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ Use the `get-fluid-size()` SCSS function to calculate a fluid width based on: (1
141141

142142
**Example SCSS**
143143
```scss
144-
@media screen and (min-width: 20rem) {
145-
button {
146-
@include media-query('sm') {
147-
max-width: get-fluid-size('sm', 1);
148-
}
144+
button {
145+
@include media-query('sm') {
146+
max-width: get-fluid-size('sm', 1);
149147
}
150148
}
151149
```
Binary file not shown.

examples/bootstrap/css-gridish/scss/_utilities.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/// @param {Number} $columnSpan The number of columns to span across.
2121
/// @return {Length} A calc() expression representing fluid width.
2222
/// @example scss
23-
/// @media screen and (min-width: 20rem) {
2423
/// button {
2524
/// @include media-query('sm') {
2625
/// max-width: get-fluid-size('sm', 1);

examples/carbon/css-gridish/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ Use the `get-fluid-size()` SCSS function to calculate a fluid width based on: (1
141141

142142
**Example SCSS**
143143
```scss
144-
@media screen and (min-width: 20rem) {
145-
button {
146-
@include media-query('sm') {
147-
max-width: get-fluid-size('sm', 1);
148-
}
144+
button {
145+
@include media-query('sm') {
146+
max-width: get-fluid-size('sm', 1);
149147
}
150148
}
151149
```
0 Bytes
Binary file not shown.

examples/carbon/css-gridish/scss/_utilities.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/// @param {Number} $columnSpan The number of columns to span across.
2121
/// @return {Length} A calc() expression representing fluid width.
2222
/// @example scss
23-
/// @media screen and (min-width: 20rem) {
2423
/// button {
2524
/// @include media-query('sm') {
2625
/// max-width: get-fluid-size('sm', 1);

examples/material/css-gridish/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,9 @@ Use the `get-fluid-size()` SCSS function to calculate a fluid width based on: (1
145145

146146
**Example SCSS**
147147
```scss
148-
@media screen and (min-width: 20rem) {
149-
button {
150-
@include media-query('sm') {
151-
max-width: get-fluid-size('sm', 1);
152-
}
148+
button {
149+
@include media-query('sm') {
150+
max-width: get-fluid-size('sm', 1);
153151
}
154152
}
155153
```
Binary file not shown.

examples/material/css-gridish/scss/_utilities.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
/// @param {Number} $columnSpan The number of columns to span across.
2121
/// @return {Length} A calc() expression representing fluid width.
2222
/// @example scss
23-
/// @media screen and (min-width: 20rem) {
2423
/// button {
2524
/// @include media-query('sm') {
2625
/// max-width: get-fluid-size('sm', 1);

src/docs/README.md.hbs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ Use the `get-fluid-size()` SCSS function to calculate a fluid width based on: (1
141141
142142
**Example SCSS**
143143
```scss
144-
@media screen and (min-width: 20rem) {
145-
button {
146-
@include media-query('sm') {
147-
max-width: get-fluid-size('sm', 1);
148-
}
144+
button {
145+
@include media-query('sm') {
146+
max-width: get-fluid-size('sm', 1);
149147
}
150148
}
151149
```

0 commit comments

Comments
 (0)