mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
More clear naming for the touch bar
This commit is contained in:
parent
846a720582
commit
35a8184790
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ type HighlightBarProps = {
|
|||
}
|
||||
|
||||
export function HighlightBar(props: HighlightBarProps): JSX.Element {
|
||||
if (props.displayNearCursor) {
|
||||
if (!props.displayNearCursor) {
|
||||
return (
|
||||
<Box
|
||||
css={{
|
||||
|
|
@ -93,7 +93,7 @@ function BarContent(props: HighlightBarProps): JSX.Element {
|
|||
css={{
|
||||
height: '100%',
|
||||
alignItems: 'center',
|
||||
width: props.isTouchscreenDevice ? '100%' : 'auto',
|
||||
width: props.displayNearCursor ? 'auto' '100%',
|
||||
}}
|
||||
>
|
||||
{props.isNewHighlight ? (
|
||||
|
|
|
|||
Loading…
Reference in a new issue