Skip to content

Instantly share code, notes, and snippets.

@k41n
Created April 21, 2014 13:37
Show Gist options
  • Select an option

  • Save k41n/11142946 to your computer and use it in GitHub Desktop.

Select an option

Save k41n/11142946 to your computer and use it in GitHub Desktop.
issue with deckgrid
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape)
.entries-deckgrid[deckgrid]::before
content: '3 .column.column-1-3'
font-size: 0
visibility: hidden
.entries-deckgrid[deckgrid]::after
content: ' '
clear: both
.entries-deckgrid .column
float: left
.entries-deckgrid .column-1-3
width: 33%
.boards-deckgrid[deckgrid]::before
content: '1 .column.column-1-1'
font-size: 0
visibility: hidden
.boards-deckgrid[deckgrid]::after
content: ' '
clear: both
.boards-deckgrid .column
float: left
.boards-deckgrid .column-1-1
width: 100%
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait)
.entries-deckgrid[deckgrid]::before
content: '2 .column.column-1-2'
font-size: 0
visibility: hidden
.entries-deckgrid[deckgrid]::after
content: ' '
clear: both
.entries-deckgrid .column
float: left
.entries-deckgrid .column-1-2
width: 50%
.boards-deckgrid[deckgrid]::before
content: '1 .column.column-1-1'
font-size: 0
visibility: hidden
.boards-deckgrid[deckgrid]::after
content: ' '
clear: both
.boards-deckgrid .column
float: left
.boards-deckgrid .column-1-1
width: 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment