diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-01-12 16:43:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 16:43:02 +0100 |
commit | f4a6365f55c3b16494337e0880b42108cc4a171a (patch) | |
tree | e3217e379c4ce2642436fe9c5f3011c3a05a0553 /app/javascript/mastodon/features/compose/components/privacy_dropdown.js | |
parent | ebe2c1093251d0396d6dbd58120bbb92f59cc1c9 (diff) |
Remove hardcoded width from dropdown overlays (#23062)
* Remove hardcoded width from dropdown overlays * Fix emoji picker position
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/privacy_dropdown.js')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/privacy_dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js index 09bbc8e99..545b67eda 100644 --- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js @@ -268,7 +268,7 @@ class PrivacyDropdown extends React.PureComponent { <Overlay show={open} placement={'bottom'} flip target={this.findTarget} container={container} popperConfig={{ strategy: 'fixed', onFirstUpdate: this.handleOverlayEnter }}> {({ props, placement }) => ( - <div {...props} style={{ ...props.style, width: 350, maxWidth: '100vw' }}> + <div {...props}> <div className={`dropdown-animation privacy-dropdown__dropdown ${placement}`}> <PrivacyDropdownMenu items={this.options} |