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>
|
||||
</Flex>
|
||||
{domain
|
||||
&& <FloatButton.Group
|
||||
trigger='click'
|
||||
&& <FloatButton
|
||||
style={{
|
||||
position: 'fixed',
|
||||
insetInlineEnd: (100 - 40) / 2,
|
||||
bottom: 100 - 40 / 2
|
||||
}}
|
||||
icon={<CaretUpOutlined/>}
|
||||
>
|
||||
<Tooltip title={t`Add to watchlist`} placement='left'>
|
||||
<FloatButton icon={<PlusOutlined />} onClick={() => setAddToWatchlistModal(true)} />
|
||||
</Tooltip>
|
||||
</FloatButton.Group>
|
||||
tooltip={t`Add to watchlist`}
|
||||
type="primary"
|
||||
icon={<PlusOutlined/>}
|
||||
onClick={() => setAddToWatchlistModal(true)}
|
||||
/>
|
||||
}
|
||||
<WatchlistSelectionModal
|
||||
open={addToWatchlistModal}
|
||||
|
||||
Reference in New Issue
Block a user