Skip to content

Commit

Permalink
Mobile UI fixes (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeg90 authored Aug 7, 2023
1 parent a1c522a commit cb720d6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
10 changes: 2 additions & 8 deletions src/Components/Header/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
align-items: center;
justify-content: center;
width: 100%;
height: 44px;
padding-block: 0.25rem;
border-block-end: 10px solid rgb(var(--separator-rgb) / 25%);
}

.text {
Expand All @@ -40,10 +41,3 @@
line-height: 17px;
height: 34px;
}

.bottomSeperator {
background-color: rgb(var(--separator-rgb) / 25%);
width: 100%;
height: 10px;
box-shadow: inset 0 1px 3px 0 rgb(0 0 0 / 2%);
}
1 change: 0 additions & 1 deletion src/Components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const Header = () => {
<span className={styles.text}>
Your go to place for everything about web3name
</span>
<div className={styles.bottomSeperator} />
</div>
</header>
);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/InfoIcon/InfoIcon.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.button {
background: url('../../ImageAssets/tool_tip_light.svg') no-repeat right/100%;
background: url('../../ImageAssets/tool_tip_light.svg') no-repeat center/contain;
position: relative;
width: 16px;
height: 16px;
Expand Down
6 changes: 5 additions & 1 deletion src/Components/InfoIcon/InfoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export function InfoIcon({
useHandleOutsideClick(ref, hide);

return (
<button className={styles.button} onClick={show}>
<button
className={styles.button}
onClick={show}
aria-label="Show more info"
>
{visible && (
<span className={right ? styles.right : styles.wrapper}>
<span className={styles.text} ref={ref}>
Expand Down
1 change: 0 additions & 1 deletion src/Components/Web3Name/Web3Name.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.container {
composes: container from '../Results/Results.module.css';
height: 31px;
margin: 0;
}

Expand Down

0 comments on commit cb720d6

Please sign in to comment.