diff --git a/frontends/web/src/components/message/message.module.css b/frontends/web/src/components/message/message.module.css index f16241de60..490c4943d8 100644 --- a/frontends/web/src/components/message/message.module.css +++ b/frontends/web/src/components/message/message.module.css @@ -18,24 +18,6 @@ width: 100%; } -.message .title { - margin: 0 0 var(--spacing-half) 0; -} - -@media (max-width: 768px) { - .message { - --size-default: 14px - } - .message .title { - --size-subheader: 18px; - } -} - -.message.small { - flex-shrink: 1; - font-size: var(--size-default); -} - .message img { margin-right: 4px; max-width: 30px; diff --git a/frontends/web/src/components/message/message.tsx b/frontends/web/src/components/message/message.tsx index 2c448e4369..7d7183185f 100644 --- a/frontends/web/src/components/message/message.tsx +++ b/frontends/web/src/components/message/message.tsx @@ -52,8 +52,6 @@ const MessageIcon = ({ type, icon }: TMessageIconProps) => { type MessageProps = { className?: string; hidden?: boolean; - small?: boolean; - title?: string; type?: TMessageTypes; icon?: ReactNode; noIcon?: boolean; @@ -63,8 +61,6 @@ type MessageProps = { export const Message = ({ className = '', hidden, - small, - title, type = 'info', icon, noIcon = false, @@ -76,16 +72,10 @@ export const Message = ({ return (
{!noIcon && }
- {title && ( -

- {title} -

- )} {children}
diff --git a/frontends/web/src/routes/account/send/feetargets.tsx b/frontends/web/src/routes/account/send/feetargets.tsx index 592ba9337e..441f7349aa 100644 --- a/frontends/web/src/routes/account/send/feetargets.tsx +++ b/frontends/web/src/routes/account/send/feetargets.tsx @@ -193,8 +193,10 @@ export const FeeTargets = ({ ) : (
{ noFeeTargets ? ( - - {t('send.noFeeTargets')} + + ) : null }