mirror of
https://github.com/funamitech/mastodon
synced 2024-12-02 16:58:53 +09:00
Fixes #244 to make search results scrollable
This commit is contained in:
parent
40afadfb01
commit
e677dda07c
@ -112,7 +112,7 @@ export default class Compose extends React.PureComponent {
|
||||
|
||||
<Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}>
|
||||
{({ x }) =>
|
||||
<div className='drawer__inner darker' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}>
|
||||
<div className='drawer__inner darker scrollable optionally-scrollable' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}>
|
||||
<SearchResultsContainer />
|
||||
</div>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user