Skip to content

Commit

Permalink
Hide and display empty item set message on mobile. (Fix #523)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Feb 17, 2016
1 parent a3009ce commit d154a4e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions application/asset/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3833,10 +3833,19 @@ th {
display: none;
}

fieldset.section > #item-item-sets.empty + .no-resources {
display: none;
}

fieldset.section.mobile-active > *:not(legend) {
display: block;
}

fieldset.section.mobile-active > #item-item-sets.empty + .no-resources {
display: block;
margin-top: 3em;
}

fieldset.section.mobile-active > table {
display: table;
}
Expand Down
8 changes: 8 additions & 0 deletions application/asset/sass/_tablet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,19 @@ fieldset.section.mobile-active > legend:after{
fieldset.section > *:not(legend) {
display: none;
}
fieldset.section > #item-item-sets.empty + .no-resources {
display: none;
}

fieldset.section.mobile-active > *:not(legend) {
display: block;
}

fieldset.section.mobile-active > #item-item-sets.empty + .no-resources {
display: block;
margin-top: rhythm(2);
}

fieldset.section.mobile-active > table {
display: table;
}
Expand Down

0 comments on commit d154a4e

Please sign in to comment.