mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Increase minimum height of Spotlight to make reflows less frequent.
This commit is contained in:
@@ -1164,10 +1164,10 @@ a.author { margin-right: 0.5em; }
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
min-height: 90px;
|
||||
|
||||
&.loading {
|
||||
height: 62px;
|
||||
height: 90px;
|
||||
opacity: .5;
|
||||
|
||||
& .help, & .throbber {
|
||||
@@ -6918,9 +6918,9 @@ body:not(.gold) .allminus-link {
|
||||
.sr-interest-bar {
|
||||
position: relative;
|
||||
background: #cee3f8 url(../snoo-upside-down.png) 15px top no-repeat;
|
||||
padding: 5px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #336699;
|
||||
height: 90px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
@@ -148,6 +148,9 @@ r.spotlight._advance = function(dir) {
|
||||
.width($('#siteTable .rank').width())
|
||||
.end()
|
||||
|
||||
// match the listing background to that of the displayed thing
|
||||
listing.css('background-color', $next.css('background-color'))
|
||||
|
||||
visible.hide()
|
||||
$next.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user