Merge branch 'actions-modal-styles' into 'develop'
Make ActionsModal items full width, minor style improvements See merge request soapbox-pub/soapbox!1846
This commit is contained in:
@@ -37,10 +37,10 @@ const ActionsModal: React.FC<IActionsModal> = ({ status, actions, onClick, onClo
|
||||
{...compProps}
|
||||
rel='noopener'
|
||||
data-index={i}
|
||||
className={classNames({ active, destructive })}
|
||||
className={classNames('w-full', { active, destructive })}
|
||||
data-method={isLogout ? 'delete' : null}
|
||||
>
|
||||
{icon && <Icon title={text} src={icon} role='presentation' tabIndex={-1} />}
|
||||
{icon && <Icon className='min-w-fit' title={text} src={icon} role='presentation' tabIndex={-1} />}
|
||||
<div>
|
||||
<div className={classNames({ 'actions-modal__item-label': !!meta })}>{text}</div>
|
||||
<div>{meta}</div>
|
||||
|
||||
Reference in New Issue
Block a user