mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: single FAB needed for now
This commit is contained in:
@@ -69,19 +69,17 @@ export default function DomainSearchPage() {
|
|||||||
</Skeleton>
|
</Skeleton>
|
||||||
</Flex>
|
</Flex>
|
||||||
{domain
|
{domain
|
||||||
&& <FloatButton.Group
|
&& <FloatButton
|
||||||
trigger='click'
|
|
||||||
style={{
|
style={{
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
insetInlineEnd: (100 - 40) / 2,
|
insetInlineEnd: (100 - 40) / 2,
|
||||||
bottom: 100 - 40 / 2
|
bottom: 100 - 40 / 2
|
||||||
}}
|
}}
|
||||||
icon={<CaretUpOutlined/>}
|
tooltip={t`Add to watchlist`}
|
||||||
>
|
type="primary"
|
||||||
<Tooltip title={t`Add to watchlist`} placement='left'>
|
icon={<PlusOutlined/>}
|
||||||
<FloatButton icon={<PlusOutlined />} onClick={() => setAddToWatchlistModal(true)} />
|
onClick={() => setAddToWatchlistModal(true)}
|
||||||
</Tooltip>
|
/>
|
||||||
</FloatButton.Group>
|
|
||||||
}
|
}
|
||||||
<WatchlistSelectionModal
|
<WatchlistSelectionModal
|
||||||
open={addToWatchlistModal}
|
open={addToWatchlistModal}
|
||||||
|
|||||||
Reference in New Issue
Block a user