discourse/app/assets/stylesheets/common/base
David Taylor 7edc941843
FIX: Ensure images do not change height when loading is complete (#16368)
Browsers automatically calculate an aspect ratio based on the width/height attributes of an `<img`. HOWEVER that aspect ratio only applies while the image is loading. Once loaded, it'll use the image's actual dimensions. This can cause things to jump around after loading. For example:
 - if a user deliberately inserts false width/height
 - the image fails to load (404)
 - an optimised image is a few pixels different, due to a rounding when resizing

This decorator explicitly sets the `aspect-ratio` property so that things are consistent throughout the lifetime of all `<img` elements.
2022-04-05 13:43:17 +01:00
..
_index.scss DEV: Remove jquery-tags-input dependency (#15344) 2021-12-17 14:53:52 -05:00
_topic-list.scss A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
about.scss UX: More consistent table header styles, removing duplicate styles 2019-02-26 21:40:17 -05:00
activation.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
alert.scss UX: Fix z-index for new topic alert (#13676) 2021-07-09 15:22:30 -04:00
bbcode.scss
cat_reorder.scss UX: Increase width & center category reorder input (#10928) 2020-10-15 14:42:42 +11:00
category-list.scss FEATURE: Add mobile support for subcategories-with-featured-topics (#16118) 2022-03-08 22:06:27 +00:00
code_highlighting.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
colorpicker.scss FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
compose.scss FIX: Composer fields on small desktop sizes (#15729) 2022-02-01 21:33:06 +01:00
composer-user-selector.scss UX: Reducing usage of btn-small, simplifying styles 2019-01-11 19:41:09 -05:00
crawler_layout.scss linting (#16360) 2022-04-02 10:47:01 -05:00
d-icon.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
d-popover.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
directory.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
discourse.scss DEV: Improve theme error handling UX 2022-02-14 10:11:19 +00:00
edit-category.scss FEATURE: Per-category default slow mode duration for topics. 2021-07-21 12:32:07 +08:00
edit-topic-timer-modal.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
ember-select.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
emoji.scss UX: Tweak emoji picker css 2022-01-10 10:23:21 +08:00
empty-state.scss FIX: Small tweaks to "no messages" education (#12588) 2021-04-07 09:28:10 +10:00
exception.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
explain-reviewable.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
faqs.scss UX: more consistent mobile spacing (#13297) 2021-06-07 13:22:28 -04:00
group.scss FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
groups.scss UX: Tweak groups page css (#13775) 2021-07-20 12:26:52 +02:00
header.scss DEV: Simplify header width css (#15746) 2022-02-01 22:36:34 +01:00
history.scss Fix CSS for collapsed table cells when showing insertion in Raw mode (#12489) 2021-03-23 10:43:25 +01:00
lightbox.scss FIX: Do not add CSS transition effect to animated images (#12803) 2021-04-22 14:05:48 -04:00
login.scss UX: adjust invite and related form spacing (#15556) 2022-01-13 08:41:28 +11:00
magnific-popup.scss FEATURE: Add link to original image in lightbox (#15640) 2022-03-08 19:39:46 +02:00
menu-panel.scss UX: prevent user menu overflow on tiny screens (#15964) 2022-02-15 20:13:11 -05:00
modal.scss FEATURE: Add fullscreen button for code blocks (#16044) 2022-03-01 08:37:24 +10:00
not-found.scss FEATURE: Add site setting to show more detailed 404 errors. (#8014) 2019-10-08 14:15:08 +03:00
onebox.scss FIX: limits pre-line impact to tweet text (#15583) 2022-01-14 10:44:21 +01:00
personal-message.scss UX: prioritize moderator bg color in PMs (#13833) 2021-07-23 13:06:48 -04:00
popup-menu.scss UX: popup menu buttons need focus style (#11962) 2021-02-04 09:37:45 -05:00
redirection.scss
request_access.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
request-group-membership-form.scss
reviewables.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
rtl.scss UX: Fix extra indent on lists when supporting mixed text direction (#15110) 2021-11-26 12:32:45 -05:00
search-menu.scss FEATURE: show recent searches in quick search panel (#15024) 2021-11-25 15:44:15 -05:00
search.scss FEATURE: Show topic visited state on search page (#15994) 2022-02-23 21:24:26 +02:00
share_link.scss FEATURE: Replace share-popup with share-topic (#16108) 2022-03-15 21:27:18 +02:00
shared-drafts.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
tagging.scss FIX: use font-down 2022-01-05 10:25:39 +08:00
tooltip.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-admin-menu.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-post.scss FIX: Ensure images do not change height when loading is complete (#16368) 2022-04-05 13:43:17 +01:00
topic.scss FIX: Small adjustments to topic progress position on desktop (#15447) 2022-01-04 18:28:26 -05:00
upload.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
user-badges.scss fix badge wrapping on user summary 2021-07-27 12:48:16 +08:00
user.scss FEATURE: use raster image and autofill in 2FA input (#15429) 2022-01-04 15:31:46 +11:00