From 6edce6fef352cbf6205de9150e69ae5ebf584da9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 27 Nov 2022 08:45:53 +0530 Subject: [PATCH] Update New Yorker Remove the buttons below the images. They might be causing the Kobo renderer to barf. --- recipes/new_yorker.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/new_yorker.recipe b/recipes/new_yorker.recipe index 349ff9c575..b74c66713f 100644 --- a/recipes/new_yorker.recipe +++ b/recipes/new_yorker.recipe @@ -34,9 +34,9 @@ class NewYorker(BasicNewsRecipe): timefmt = ' [%b %d]' encoding = 'utf-8' extra_css = ''' - .byline { font-size:xx-small; font-weight: bold;} + .byline { font-size:smaller; font-weight: bold;} h3 { margin-bottom: 6px; } - .caption { font-size: xx-small; font-style: italic; font-weight: normal; } + .caption { font-size: smaller; font-style: italic; font-weight: normal; } ''' keep_only_tags = [ @@ -56,7 +56,7 @@ class NewYorker(BasicNewsRecipe): classes( 'social-icons' ), - prefixed_classes('ConsentBannerWrapper-'), + prefixed_classes('ConsentBannerWrapper- ResponsiveCartoonCTA-'), dict(childtypes='iframe'), ] remove_attributes = ['style']