fix menu separators
This commit is contained in:
parent
7457eebd88
commit
179f16470b
1 changed files with 14 additions and 11 deletions
|
@ -261,32 +261,36 @@ function ClaimMenuList(props: Props) {
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!incognitoClaim && !isRepost && !claimIsMine && !isChannelPage && (
|
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleFollow}>
|
|
||||||
<div className="menu__link">
|
|
||||||
<Icon aria-hidden icon={ICONS.SUBSCRIBE} />
|
|
||||||
{subscriptionLabel}
|
|
||||||
</div>
|
|
||||||
</MenuItem>
|
|
||||||
)}
|
|
||||||
{!isChannelPage && (
|
{!isChannelPage && (
|
||||||
<>
|
<>
|
||||||
|
<hr className="menu__separator" />
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleSupport}>
|
<MenuItem className="comment__menu-option" onSelect={handleSupport}>
|
||||||
<div className="menu__link">
|
<div className="menu__link">
|
||||||
<Icon aria-hidden icon={ICONS.LBC} />
|
<Icon aria-hidden icon={ICONS.LBC} />
|
||||||
{__('Support')}
|
{__('Support')}
|
||||||
</div>
|
</div>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<hr className="menu__separator" />
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{!incognitoClaim && !isRepost && !claimIsMine && !isChannelPage && (
|
||||||
|
<>
|
||||||
|
<hr className="menu__separator" />
|
||||||
|
<MenuItem className="comment__menu-option" onSelect={handleFollow}>
|
||||||
|
<div className="menu__link">
|
||||||
|
<Icon aria-hidden icon={ICONS.SUBSCRIBE} />
|
||||||
|
{subscriptionLabel}
|
||||||
|
</div>
|
||||||
|
</MenuItem>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
{!isMyCollection && (
|
{!isMyCollection && (
|
||||||
<>
|
<>
|
||||||
{(!claimIsMine || channelIsBlocked) && channelUri ? (
|
{(!claimIsMine || channelIsBlocked) && channelUri ? (
|
||||||
!incognitoClaim &&
|
!incognitoClaim &&
|
||||||
!isRepost && (
|
!isRepost && (
|
||||||
<>
|
<>
|
||||||
|
<hr className="menu__separator" />
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleToggleBlock}>
|
<MenuItem className="comment__menu-option" onSelect={handleToggleBlock}>
|
||||||
<div className="menu__link">
|
<div className="menu__link">
|
||||||
<Icon aria-hidden icon={ICONS.BLOCK} />
|
<Icon aria-hidden icon={ICONS.BLOCK} />
|
||||||
|
@ -323,10 +327,9 @@ function ClaimMenuList(props: Props) {
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!isRepost && <hr className="menu__separator" />}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
<hr className="menu__separator" />
|
||||||
<MenuItem className="comment__menu-option" onSelect={handleCopyLink}>
|
<MenuItem className="comment__menu-option" onSelect={handleCopyLink}>
|
||||||
<div className="menu__link">
|
<div className="menu__link">
|
||||||
<Icon aria-hidden icon={ICONS.SHARE} />
|
<Icon aria-hidden icon={ICONS.SHARE} />
|
||||||
|
|
Loading…
Add table
Reference in a new issue