mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-03 14:42:36 +01:00
Widen CW click area
This commit is contained in:
parent
640f4bfdfc
commit
a02c396075
2 changed files with 4 additions and 2 deletions
|
@ -11,7 +11,7 @@ export const StatusBanner: React.FC<{
|
|||
expanded?: boolean;
|
||||
onClick?: () => void;
|
||||
}> = ({ children, variant, expanded, onClick }) => (
|
||||
<div
|
||||
<label
|
||||
className={
|
||||
variant === BannerVariant.Warning
|
||||
? 'content-warning'
|
||||
|
@ -33,5 +33,5 @@ export const StatusBanner: React.FC<{
|
|||
/>
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
);
|
||||
|
|
|
@ -11109,6 +11109,7 @@ noscript {
|
|||
}
|
||||
|
||||
.content-warning {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
background: rgba($ui-highlight-color, 0.05);
|
||||
color: $secondary-text-color;
|
||||
|
@ -11118,6 +11119,7 @@ noscript {
|
|||
position: relative;
|
||||
font-size: 15px;
|
||||
line-height: 22px;
|
||||
cursor: pointer;
|
||||
|
||||
p {
|
||||
margin-bottom: 8px;
|
||||
|
|
Loading…
Reference in a new issue