Widen CW click area

This commit is contained in:
Claire 2024-10-16 14:34:07 +02:00
parent 640f4bfdfc
commit a02c396075
2 changed files with 4 additions and 2 deletions

View file

@ -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>
);

View file

@ -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;