Skip to content

Commit

Permalink
css scroll bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Aug 23, 2012
1 parent e5f2428 commit 1abfa97
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions build/vk.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
html, body { height: 100%; margin: 0; font: 14px/1.6 "Helvetica Neue", Helvetica, arial, sans-serif; }
html, body { margin: 0; font: 14px/1.6 "Helvetica Neue", Helvetica, arial, sans-serif; }


.vk-container * {
Expand Down Expand Up @@ -111,6 +111,16 @@ html, body { height: 100%; margin: 0; font: 14px/1.6 "Helvetica Neue", Helvetica
*/
.ui-content .item-details { overflow: auto; background-color: #e6e6e6; height: 100%; }
.ui-content .itemDetails { margin-left: 60px; }
.ui-content .items .row { overflow: auto; min-height: 49px; border-bottom: 1px solid #cccccc; color: #363636; position: relative; }
.ui-content .items .row { overflow: auto; min-height: 49px; border-bottom: 1px solid #cccccc; color: #363636; position: relative;
display: -webkit-box;
-webkit-box-pack: center;
-webkit-box-align: center;
display: -moz-box;
-moz-box-pack: center;
-moz-box-align: center;
display: box;
box-pack: center;
box-align: center;
}
.ui-content .items .row:active { background-color: #e6e6e6 !important; }
.ui-content .items a:nth-child(odd) .row { background-color: #fafafa;}
2 changes: 1 addition & 1 deletion lib/components/container/container.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
html, body { height: 100%; margin: 0; font: 14px/1.6 "Helvetica Neue", Helvetica, arial, sans-serif; }
html, body { margin: 0; font: 14px/1.6 "Helvetica Neue", Helvetica, arial, sans-serif; }


.vk-container * {
Expand Down
12 changes: 11 additions & 1 deletion lib/components/item/item.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
.ui-content .item-details { overflow: auto; background-color: #e6e6e6; height: 100%; }
.ui-content .itemDetails { margin-left: 60px; }
.ui-content .items .row { overflow: auto; min-height: 49px; border-bottom: 1px solid #cccccc; color: #363636; position: relative; }
.ui-content .items .row { overflow: auto; min-height: 49px; border-bottom: 1px solid #cccccc; color: #363636; position: relative;
display: -webkit-box;
-webkit-box-pack: center;
-webkit-box-align: center;
display: -moz-box;
-moz-box-pack: center;
-moz-box-align: center;
display: box;
box-pack: center;
box-align: center;
}
.ui-content .items .row:active { background-color: #e6e6e6 !important; }
.ui-content .items a:nth-child(odd) .row { background-color: #fafafa;}

0 comments on commit 1abfa97

Please sign in to comment.