Skip to content

Commit

Permalink
change 小屏幕padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Boyuzhou committed Dec 23, 2016
1 parent 9facc77 commit b0dd315
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build/Panel.css
Expand Up @@ -151,3 +151,11 @@
border-bottom: 0; }
.u-panel-group .u-panel-heading + .u-panel-collapse > .list-group, .u-panel-group .u-panel-group .u-panel-heading + .u-panel-collapse > .u-panel-body {
border-top: 1px solid #ddd; }

@media (max-width: 768px) {
.u-panel .u-panel-heading {
padding: 3px 5px; }
.u-panel .u-panel-body {
padding: 5px 5px; }
.u-panel .u-panel-footer {
padding: 3px 5px; } }
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "bee-panel",
"version": "0.0.6",
"version": "0.0.7",
"description": "Panel ui component for react",
"keywords": [
"react",
Expand Down
12 changes: 12 additions & 0 deletions src/Panel.scss
Expand Up @@ -113,3 +113,15 @@
border-top: 1px solid #ddd;
}
}

@media (max-width: 768px){
.u-panel .u-panel-heading{
padding: 3px 5px;
}
.u-panel .u-panel-body{
padding: 5px 5px;
}
.u-panel .u-panel-footer{
padding: 3px 5px;
}
}

0 comments on commit b0dd315

Please sign in to comment.