Skip to content

Commit

Permalink
💄 Remove info icon from error displays for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
sasamuku committed Jan 31, 2025
1 parent 7904b7e commit 114a688
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
gap: var(--spacing-1, 4px);
}

.message1TitleWrapper {
display: flex;
gap: var(--spacing-2, 8px);
}

.iconWrapper {
min-width: 24px;
padding-top: var(--spacing-1, 4px);
}

.message1Title {
color: var(--callout-warning-text, #c3b476);
font-family: var(--message-font, Montserrat);
Expand All @@ -45,10 +35,6 @@
gap: var(--spacing-2, 8px);
}

.iconWrapper {
display: none;
}

.message1Title {
font-size: var(--font-size-8, 20px);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { InfoIcon } from '@liam-hq/ui'
import type { FC } from 'react'
import styles from './NetworkErrorDisplay.module.css'

Expand All @@ -15,13 +14,8 @@ export const NetworkErrorDisplay: FC<Props> = ({ errors }) => {
return (
<div className={styles.wrapper}>
<div className={styles.message1}>
<div className={styles.message1TitleWrapper}>
<div className={styles.iconWrapper}>
<InfoIcon color="var(--callout-warning-text)" />
</div>
<div className={styles.message1Title}>
Oh no! We’ve encountered some NetworkErrors 🛸💫
</div>
<div className={styles.message1Title}>
Oh no! We’ve encountered some NetworkErrors 🛸💫
</div>

{errors[0] && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
gap: var(--spacing-1, 4px);
}

.message1TitleWrapper {
display: flex;
gap: var(--spacing-2, 8px);
}

.iconWrapper {
min-width: 24px;
padding-top: var(--spacing-1, 4px);
}

.message1Title {
color: var(--callout-warning-text, #c3b476);
font-family: var(--message-font, Montserrat);
Expand Down Expand Up @@ -102,10 +92,6 @@
gap: var(--spacing-2, 8px);
}

.iconWrapper {
display: none;
}

.message1Title {
font-size: var(--font-size-8, 20px);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { InfoIcon } from '@liam-hq/ui'
import type { FC } from 'react'
import styles from './ParseErrorDisplay.module.css'

Expand All @@ -15,13 +14,8 @@ export const ParseErrorDisplay: FC<Props> = ({ errors }) => {
return (
<div className={styles.wrapper}>
<div className={styles.message1}>
<div className={styles.message1TitleWrapper}>
<div className={styles.iconWrapper}>
<InfoIcon color="var(--callout-warning-text)" />
</div>
<div className={styles.message1Title}>
Oh no! We’ve encountered some errors 🛸💫
</div>
<div className={styles.message1Title}>
Oh no! We’ve encountered some errors 🛸💫
</div>

{errors[0] && (
Expand Down

0 comments on commit 114a688

Please sign in to comment.