mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Disable dots menu Since there are no extra actions yet
This commit is contained in:
parent
ce21621927
commit
32b08d1112
1 changed files with 5 additions and 10 deletions
|
|
@ -7,16 +7,9 @@ import { styled, theme } from "../../tokens/stitches.config"
|
|||
export type ArticleActionsMenuLayout = 'horizontal' | 'vertical'
|
||||
|
||||
type ArticleActionsMenuProps = {
|
||||
// pageTestId: string
|
||||
// hideHeader?: boolean
|
||||
// pageMetaDataProps?: PageMetaDataProps
|
||||
// scrollElementRef?: MutableRefObject<HTMLDivElement | null>
|
||||
// displayFontStepper?: boolean
|
||||
layout: ArticleActionsMenuLayout
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function MenuSeparator(props: ArticleActionsMenuProps) {
|
||||
const LineSeparator = styled(Separator, {
|
||||
width: '100%',
|
||||
|
|
@ -33,11 +26,12 @@ export function ArticleActionsMenu(props: ArticleActionsMenuProps): JSX.Element
|
|||
<Box
|
||||
css={{
|
||||
display: 'flex',
|
||||
|
||||
flexDirection: props.layout == 'vertical' ? 'column' : 'row',
|
||||
alignItems: props.layout == 'vertical' ? 'flex-start' : 'center',
|
||||
justifyContent: props.layout == 'vertical' ? 'center' : 'flex-end',
|
||||
gap: props.layout == 'vertical' ? '8px' : '4px',
|
||||
paddingTop: '6px',
|
||||
gap: '4px',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
m: '0px',
|
||||
|
|
@ -51,6 +45,7 @@ export function ArticleActionsMenu(props: ArticleActionsMenuProps): JSX.Element
|
|||
<Button style='articleActionIcon'>
|
||||
<TagSimple size={24} color={theme.colors.readerFont.toString()} />
|
||||
</Button>
|
||||
|
||||
<Button style='articleActionIcon'>
|
||||
<HighlighterCircle size={24} color={theme.colors.readerFont.toString()} />
|
||||
</Button>
|
||||
|
|
@ -59,11 +54,11 @@ export function ArticleActionsMenu(props: ArticleActionsMenuProps): JSX.Element
|
|||
<Button style='articleActionIcon'>
|
||||
<ArchiveBox size={24} color={theme.colors.readerFont.toString()} />
|
||||
</Button>
|
||||
<MenuSeparator layout={props.layout} />
|
||||
{/* <MenuSeparator layout={props.layout} />
|
||||
|
||||
<Button style='articleActionIcon'>
|
||||
<DotsThree size={24} color={theme.colors.readerFont.toString()} />
|
||||
</Button>
|
||||
</Button> */}
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue