mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing oddities on end story line when no stories are shown.
This commit is contained in:
parent
9466647c46
commit
88443d45d7
2 changed files with 7 additions and 1 deletions
|
@ -1793,7 +1793,7 @@ body {
|
|||
min-height: 36px;
|
||||
border-top: 1px solid #C2C5BE;
|
||||
border-bottom: 1px solid #E1E6E0;
|
||||
padding-left: 14px; /* offset for scrollbar on right */
|
||||
/* padding-left: 14px; /* offset for scrollbar on right */
|
||||
background-color: #F8F8F8;
|
||||
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F8F8F8), to(#F1F6F0));
|
||||
background: -moz-linear-gradient(center top, #F8F8F8 0%, #F1F6F0 100%);
|
||||
|
@ -1813,6 +1813,9 @@ body {
|
|||
height: 36px;
|
||||
}
|
||||
|
||||
.NB-empty .NB-end-line {
|
||||
display: none;
|
||||
}
|
||||
/* ============================= */
|
||||
/* = Story Detial in List View = */
|
||||
/* ============================= */
|
||||
|
|
|
@ -106,6 +106,7 @@ NEWSBLUR.Views.StoryListView = Backbone.View.extend({
|
|||
clear_explainer: function() {
|
||||
var $container = this.$el.closest(".NB-feed-stories-container");
|
||||
$(".NB-story-list-empty", $container).remove();
|
||||
this.$el.removeClass("NB-empty");
|
||||
},
|
||||
|
||||
show_correct_explainer: function() {
|
||||
|
@ -160,6 +161,8 @@ NEWSBLUR.Views.StoryListView = Backbone.View.extend({
|
|||
|
||||
var $container = this.$el.closest(".NB-feed-stories-container");
|
||||
$container.append($empty);
|
||||
|
||||
this.$el.addClass("NB-empty");
|
||||
},
|
||||
|
||||
// ===========
|
||||
|
|
Loading…
Add table
Reference in a new issue