From d94d533631db447e65aecd91a1006fe70d5ea341 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Mon, 13 Jul 2020 17:26:02 -0400 Subject: [PATCH] The story margins now allow for highlighting. --- media/css/reader.css | 7 ++++--- media/js/newsblur/views/story_detail_view.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/media/css/reader.css b/media/css/reader.css index 143f78153..47cc9bd8a 100644 --- a/media/css/reader.css +++ b/media/css/reader.css @@ -3284,14 +3284,14 @@ body { max-height: none; } .NB-feed-story .NB-story-content-wrapper { - margin: 0 236px 28px 28px; + padding: 0 236px 28px 28px; } .NB-narrow-content .NB-feed-story .NB-story-content-wrapper { - margin-right: 28px; + padding-right: 28px; } .NB-story-content-wrapper.NB-story-content-wrapper-height-truncated { max-height: 460px; - margin-bottom: 0; + padding-bottom: 0; overflow: hidden; } .NB-story-content-wrapper.NB-story-content-wrapper-height-fudged { @@ -3307,6 +3307,7 @@ body { color: #1a9fff; font-size: 12px; background: #fff; + margin: 28px; } .NB-story-content-wrapper .NB-story-content-expander .NB-story-content-expander-inner { position: relative; diff --git a/media/js/newsblur/views/story_detail_view.js b/media/js/newsblur/views/story_detail_view.js index 8d5866ed5..d0c89639f 100644 --- a/media/js/newsblur/views/story_detail_view.js +++ b/media/js/newsblur/views/story_detail_view.js @@ -17,7 +17,7 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({ "mouseenter .NB-feed-story-manage-icon" : "mouseenter_manage_icon", "mouseleave .NB-feed-story-manage-icon" : "mouseleave_manage_icon", "contextmenu .NB-feed-story-header" : "show_manage_menu_rightclick", - "mouseup .NB-feed-story-content" : "mouseup_check_selection", + "mouseup .NB-story-content-wrapper" : "mouseup_check_selection", "click .NB-feed-story-manage-icon" : "show_manage_menu", "click .NB-feed-story-show-changes" : "show_story_changes", "click .NB-feed-story-header-title" : "open_feed",