Change glitch-soc composer classes to match upstream

This commit is contained in:
Claire
2022-11-06 13:30:37 +01:00
parent c199387558
commit 0be6da42d3
18 changed files with 272 additions and 274 deletions

View File

@@ -15,7 +15,7 @@ export default class Warning extends React.PureComponent {
return (
<Motion defaultStyle={{ opacity: 0, scaleX: 0.85, scaleY: 0.75 }} style={{ opacity: spring(1, { damping: 35, stiffness: 400 }), scaleX: spring(1, { damping: 35, stiffness: 400 }), scaleY: spring(1, { damping: 35, stiffness: 400 }) }}>
{({ opacity, scaleX, scaleY }) => (
<div className='composer--warning' style={{ opacity: opacity, transform: `scale(${scaleX}, ${scaleY})` }}>
<div className='compose-form__warning' style={{ opacity: opacity, transform: `scale(${scaleX}, ${scaleY})` }}>
{message}
</div>
)}