mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-18 00:01:55 +03:00
Fix name text becomes too easily clickable
This commit is contained in:
parent
f9cb9502b1
commit
99d7525436
2 changed files with 9 additions and 8 deletions
|
@ -299,7 +299,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/* text-overflow: ellipsis; */
|
/* text-overflow: ellipsis; */
|
||||||
}
|
}
|
||||||
.status > .container > .meta .name-text {
|
.status > .container > .meta .meta-name {
|
||||||
mask-image: linear-gradient(to left, transparent, black 16px);
|
mask-image: linear-gradient(to left, transparent, black 16px);
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -968,13 +968,14 @@ function Status({
|
||||||
)}
|
)}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
{/* <span> */}
|
<span class="meta-name">
|
||||||
<NameText
|
<NameText
|
||||||
account={status.account}
|
account={status.account}
|
||||||
instance={instance}
|
instance={instance}
|
||||||
showAvatar={size === 's'}
|
showAvatar={size === 's'}
|
||||||
showAcct={isSizeLarge}
|
showAcct={isSizeLarge}
|
||||||
/>
|
/>
|
||||||
|
</span>
|
||||||
{/* {inReplyToAccount && !withinContext && size !== 's' && (
|
{/* {inReplyToAccount && !withinContext && size !== 's' && (
|
||||||
<>
|
<>
|
||||||
{' '}
|
{' '}
|
||||||
|
|
Loading…
Add table
Reference in a new issue