mirror of
https://github.com/funamitech/mastodon
synced 2024-11-29 15:28:33 +09:00
[Glitch] Display search popout at fixed screen position
Port 726c7dea31
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
89d3d85cf2
commit
d7a6a9393a
@ -161,8 +161,7 @@ class Search extends React.PureComponent {
|
|||||||
<Icon id='search' className={hasValue ? '' : 'active'} />
|
<Icon id='search' className={hasValue ? '' : 'active'} />
|
||||||
<Icon id='times-circle' className={hasValue ? 'active' : ''} />
|
<Icon id='times-circle' className={hasValue ? 'active' : ''} />
|
||||||
</div>
|
</div>
|
||||||
|
<Overlay show={expanded && !hasValue} placement='bottom' target={this} container={this}>
|
||||||
<Overlay show={expanded && !hasValue} placement='bottom' target={this}>
|
|
||||||
<SearchPopout />
|
<SearchPopout />
|
||||||
</Overlay>
|
</Overlay>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user