Bug 881995 - Snapped view Alignment for Bookmarks an Recent History is off and tiles are cut off

--HG--
extra : rebase_source : c555f8623515499f7cdf84f11e0b29a8c43343cd
This commit is contained in:
Rodrigo Silveira 2013-08-07 13:11:44 -07:00
parent 6a77ce3e6c
commit 65d6e4237a
4 changed files with 23 additions and 6 deletions

View File

@ -228,10 +228,7 @@
<richgrid id="start-remotetabs-grid" set-name="remoteTabs" seltype="multiple" flex="1"/>
</vbox>
<!-- Spacer to take extra space in snapped mode. -->
<spacer flex="999"/>
</scrollbox>
</hbox>
</vbox> <!-- end tray -->

View File

@ -234,17 +234,18 @@ documenttab[selected] .documenttab-selection {
#start-autocomplete[viewstate="snapped"] .richgrid-item-content {
-moz-box-orient: horizontal;
}
#start-container,
#start-autocomplete {
padding-left: 0;
padding-right: 0;
}
#start-container[viewstate="snapped"] #start-scrollbox > .meta-section {
margin: 0;
margin: 0 @metro_spacing_xnormal@;
min-width: @grid_double_column_width@;
-moz-box-flex: 1;
-moz-box-align: center;
}
#start-container[viewstate="snapped"] richgrid {
visibility: collapse;
}

View File

@ -581,6 +581,16 @@ arrowbox {
cursor: default;
}
#start-container[viewstate="snapped"] {
padding-top: 0;
}
#start-container[viewstate="snapped"] .meta-section-title,
#start-container[viewstate="snapped"] richgrid {
margin-top: @metro_spacing_xnormal@;
padding: 0;
}
#start-container[viewstate="snapped"] .meta-section-title.narrow-title,
#start-container:not([viewstate="snapped"]) .meta-section-title.wide-title {
display: block;

View File

@ -282,4 +282,13 @@ richgriditem[bending] > .tile-content {
background: #fff;
opacity: 1.0;
}
.tile-content {
left: 0;
right: 0;
}
richgriditem {
width: auto;
}
}