Skip to content

Commit

Permalink
feat: add xxl (1920px) media query (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
linushorvath authored Mar 14, 2022
1 parent 72da9c0 commit 7debb37
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ module.exports = function (grunt) {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)' // 1280px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions site/src/pages/grids/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,12 @@ function Grids() {
<td><b>1280px</b></td>
<td><code>.pure-u-<b>xl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 120em)</code></td>
<td><b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
</tbody>
</table>
</div>
Expand Down
6 changes: 6 additions & 0 deletions site/src/pages/start/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ function Start() {
<td><b>1280px</b></td>
<td><code>.pure-u-<b>xl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 120em)</code></td>
<td><b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
</tbody>
</table>
</div>
Expand Down
6 changes: 4 additions & 2 deletions site/src/pages/tools/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ function Tools() {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)' // 1280px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
}
}
}
Expand Down Expand Up @@ -128,7 +129,8 @@ function Tools() {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl: 'screen and (min-width: 80em)' // 1280px
xl: 'screen and (min-width: 80em)', // 1280px
xxl: 'screen and (min-width: 120em)' // 1920px
}
})).toString();
Expand Down

0 comments on commit 7debb37

Please sign in to comment.