Skip to content

Commit

Permalink
responsive height of .content
Browse files Browse the repository at this point in the history
  • Loading branch information
shanzi committed May 18, 2015
1 parent c3ed533 commit 1fd03c3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions www/md_base/src/app/common/directives/panel/panel.less
Expand Up @@ -23,11 +23,21 @@ panel {
overflow-y: scroll;
}

&.collapsed {
width: 50%;
@media (min-width: 640px) {
&.collapsed {
width: 50%;

.content {
.content {
height: 250px;
}
}
}

@media (min-width: 960px) {
&.collapsed .content {
height: 300px;
}
}


}

0 comments on commit 1fd03c3

Please sign in to comment.