This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Dan Ungureanu d5f5d9b867
FIX: Show quoted images correctly. (#8391)
This commit attempts to fix two issues that affect quoted images.

The first issue is observed while loading. The 'position: absolute' CSS
property makes 'width' and 'height' behave differently. Instead of using
the known image size, this makes it use the computed width and height of
the image, which should be the right size, as shown to the user.

The second issue is caused by 'object-fit: cover' property which trimmed
the left and right sides of wide pictures to make them fit inside the
quote.
2019-11-25 14:32:38 +02:00
..
adapters DEV: Import set, setProperties, helper, and string functions (#8297) 2019-11-05 12:43:49 -06:00
components DEV: Use new filterType property where possible 2019-11-21 11:01:28 +00:00
controllers FEATURE: Add timezone to core user_options (#8380) 2019-11-25 10:49:27 +10:00
helpers DEV: Remove Discourse.Site in favor of import (#8344) 2019-11-13 12:13:47 -05:00
initializers Facebook square icon has been deprciated for Facebook circle 2019-11-22 15:25:20 -05:00
lib FIX: Show quoted images correctly. (#8391) 2019-11-25 14:32:38 +02:00
mixins FIX: Replace this.get("foo") with this.foo to fix linting checks 2019-11-21 11:29:50 +00:00
models FEATURE: Add timezone to core user_options (#8380) 2019-11-25 10:49:27 +10:00
pre-initializers WIP - set Discourse.currentUser 2019-11-13 15:34:30 -05:00
raw-views DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
routes FEATURE: Add timezone to core user_options (#8380) 2019-11-25 10:49:27 +10:00
services DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
templates FEATURE: Add timezone to core user_options (#8380) 2019-11-25 10:49:27 +10:00
widgets FIX: More Promise uses that were not imported 2019-11-19 15:58:40 -05:00
mapping-router.js.es6 DEV: Remove Discourse.Site in favor of import (#8344) 2019-11-13 12:13:47 -05:00