about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/components/dropdown.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-12 16:43:02 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-01-12 17:48:10 +0100
commit598888a7c45a5ccbf7debfc0cdc630232b9cfce6 (patch)
treeadc678b13a6d9bc04508c24394cdf42cf486e728 /app/javascript/flavours/glitch/features/compose/components/dropdown.js
parentcef87ba86c9e997782ba7563abfa200e62c19ceb (diff)
[Glitch] Remove hardcoded width from dropdown overlays
Port f4a6365f55c3b16494337e0880b42108cc4a171a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components/dropdown.js')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/dropdown.js b/app/javascript/flavours/glitch/features/compose/components/dropdown.js
index 924618930..d98b311d9 100644
--- a/app/javascript/flavours/glitch/features/compose/components/dropdown.js
+++ b/app/javascript/flavours/glitch/features/compose/components/dropdown.js
@@ -221,7 +221,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
           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}`}>
                 <DropdownMenu
                   items={items}