Merge branch 'i1533' into 'main'
autosuggest css should be relative, not fixed Closes #1533 See merge request soapbox-pub/soapbox!2763
This commit is contained in:
commit
8bce0f050e
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ const AutosuggestPlugin = ({
|
||||||
? ReactDOM.createPortal(
|
? ReactDOM.createPortal(
|
||||||
<div
|
<div
|
||||||
className={clsx({
|
className={clsx({
|
||||||
'mt-6 fixed z-1000 shadow bg-white dark:bg-gray-900 rounded-lg py-1 space-y-0 dark:ring-2 dark:ring-primary-700 focus:outline-none': true,
|
'mt-6 relative w-max z-1000 shadow bg-white dark:bg-gray-900 rounded-lg py-1 space-y-0 dark:ring-2 dark:ring-primary-700 focus:outline-none': true,
|
||||||
hidden: suggestionsHidden || suggestions.isEmpty(),
|
hidden: suggestionsHidden || suggestions.isEmpty(),
|
||||||
block: !suggestionsHidden && !suggestions.isEmpty(),
|
block: !suggestionsHidden && !suggestions.isEmpty(),
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Reference in a new issue