posts: increase default thumbnail size.
* Increase the default thumbnail size from small (150x150) to medium (180x180). * Change the mobile layout to use three posts per row instead of two for small thumbnails. Parent/child posts are still 150x150 to avoid taking up even more space above posts.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class PostPreviewComponent < ApplicationComponent
|
||||
DEFAULT_SIZE = "150"
|
||||
# The default size of standalone thumbnails not in a gallery. See also
|
||||
# PostGalleryComponent::DEFAULT_SIZE for the default size of thumbnails in a gallery.
|
||||
DEFAULT_SIZE = "180"
|
||||
|
||||
SIZES = %w[150 180 225 225w 270 270w 360]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user