mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Attempting to space out story date when story image preview is turned off vs turned on. When on, the story date should all be consistent, and when off it can be relaxed.
This commit is contained in:
parent
5d8842d4a2
commit
01bf0f0b5f
2 changed files with 8 additions and 2 deletions
|
@ -1992,11 +1992,14 @@ a img {
|
|||
|
||||
#story_titles .NB-story-title .story_date {
|
||||
position: absolute;
|
||||
width: 232px;
|
||||
width: 172px;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
font-size: 11px;
|
||||
}
|
||||
#story_titles .NB-story-title.NB-has-image .story_date {
|
||||
width: 236px;
|
||||
}
|
||||
.NB-theme-feed-size-xs #story_titles .NB-story-title .story_date {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
|
|
@ -207,7 +207,10 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
},
|
||||
|
||||
show_image_preview: function() {
|
||||
return NEWSBLUR.assets.preference('show_image_preview') && this.model.image_url();
|
||||
if (!NEWSBLUR.assets.preference('show_image_preview')) {
|
||||
return false;
|
||||
}
|
||||
return this.model.image_url() || true;
|
||||
},
|
||||
|
||||
// ============
|
||||
|
|
Loading…
Add table
Reference in a new issue