mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
add support for 1.5 pixel ratio
This commit is contained in:
parent
9a045c216c
commit
56c870cca2
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module Discourse
|
||||||
@anonymous_top_menu_items ||= Discourse.anonymous_filters + [:category, :categories, :top]
|
@anonymous_top_menu_items ||= Discourse.anonymous_filters + [:category, :categories, :top]
|
||||||
end
|
end
|
||||||
|
|
||||||
PIXEL_RATIOS ||= [1, 2, 3]
|
PIXEL_RATIOS ||= [1, 1.5, 2, 3]
|
||||||
|
|
||||||
def self.avatar_sizes
|
def self.avatar_sizes
|
||||||
# TODO: should cache these when we get a notification system for site settings
|
# TODO: should cache these when we get a notification system for site settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue