diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index f846e998e..fedb4d94b 100644 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -623,6 +623,9 @@ class MessageController(ListingController): show_nums = False render_cls = MessagePage allow_stylesheets = False + # note: this intentionally replaces the listing-page class which doesn't + # conceptually fit for styling these pages. + extra_page_classes = ['messages-page'] @property def menus(self):