glitch-soc/app/javascript/styles/mastodon
Peter Simonsson fd33bcb3b2
Fix dropdown menu positions when scrolling (#22916)
* Update react-overlays to latest version

* Fix breaking changes in dropdown menus

* Use react-overlays built-in arrow positioning feature
* Re-implemented `.dropdown-menu__arrow` to have a defined width and height to improve positioning
* Moved wrapping div (`.dropdown-menu` from `DropdownMenu` to `Dropdown`)
* Wrap button in a span to solve issue with ref
* Temporarily remove animations

* Fix breaking changes in emoji picker

* Wrap EmojiPickerMenu in a div where react-overlays’ ref is added

* Fix breaking changes in language dropdown

* Fix breaking changes in privacy dropdown

* Fix breaking changes in search form

* Add animations back using `@keyframes`

* Fix arrow color in light theme

* Fix linting issue

* Remove unused `mounted` state

* Remove `placement` state from components and redux

And remove the placement state from props of the menu components.

* Remove abolution position to fix flip issue

* Remove z-index to fix modals and overlay positions

* Fix lint issues

* Set placement in privacy and language components

Copy the placement state into the `PrivacyDropdown` and `LanguageDropdown` components, to apply correct styling to the buttons depending on which placement the Overlay has.

* Move `placement` state to correct component
2023-01-11 21:58:46 +01:00
..
_mixins.scss Add logged-out access to the web UI (#18961) 2022-09-29 04:39:33 +02:00
about.scss Change about page to be mounted in the web UI (#19345) 2022-10-13 14:42:37 +02:00
accessibility.scss Improve rendering of emoji which do not contrast with background (#13772) 2020-06-09 10:28:23 +02:00
accounts.scss Change "Allow trends without prior review" setting to include statuses (#17977) 2022-08-28 04:00:39 +02:00
admin.scss Bump stylelint from 14.14.0 to 14.16.1 (#22910) 2023-01-04 21:13:57 +09:00
basics.scss Fix logo gradient not working on some Safari and Blink-based browsers (#18634) 2022-06-10 17:34:59 +02:00
boost.scss Fix styling of boost button in media modal not reflecting ability to boost (#16387) 2021-06-25 04:45:30 +02:00
branding.scss Change brand color and logotypes (#18592) 2022-06-09 22:25:23 +02:00
components.scss Fix dropdown menu positions when scrolling (#22916) 2023-01-11 21:58:46 +01:00
containers.scss Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
dashboard.scss Change about page to be mounted in the web UI (#19345) 2022-10-13 14:42:37 +02:00
emoji_picker.scss Fix double button to clear emoji search input (#19888) 2022-11-07 03:40:54 +01:00
forms.scss Only remove padding when listing applications (#20382) 2022-11-11 02:55:20 +01:00
lists.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
modal.scss Add transparancy to modal background for accessibility (#18081) 2022-12-15 17:38:35 +01:00
polls.scss Improve the contrast of the chart in “poll has ended” notifications (#22575) 2023-01-05 13:34:10 +01:00
reset.scss Fix Firefox scrollbar color regression in #9210 (#9908) 2019-01-24 13:32:23 +01:00
rtl.scss Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
statuses.scss Change public accounts pages to mount the web UI (#19319) 2022-10-20 14:35:29 +02:00
tables.scss Stick batch table toolbar to the top (#20442) 2022-11-13 21:02:28 +01:00
variables.scss Fix intermediary responsive layout, accessibility on navigation in web UI (#19324) 2022-10-09 15:55:32 +02:00
widgets.scss Add left and right margin to emojis (#20464) 2022-12-15 18:53:37 +01:00