flow: icons & small tweaks

This commit is contained in:
cha0s 2020-07-13 17:00:18 -05:00
parent a2d1a5ad8b
commit 4371fe5f61
4 changed files with 26 additions and 4 deletions

View File

@ -43,7 +43,13 @@ export default function ChatChannels() {
}}
type="button"
>
<span role="img" aria-label={label}>{emoji}</span>
<span
className="channels__buttonIcon"
role="img"
aria-label={label}
>
{emoji}
</span>
<span className="channels__buttonText">{label}</span>
</button>
</li>

View File

@ -53,6 +53,10 @@
}
}
.channels__buttonIcon {
display: flow-root;
}
.channels__buttonText {
font-size: 0.7em;
}
@ -65,8 +69,10 @@
.channel__joinTextWrapper::before {
content: '/r/';
font-size: 0.9em;
padding-right: 0.25em;
font-size: 0.8em;
padding: 0 0.25em 0 0.5em;
position: relative;
top: 1px;
}
.channel__joinText {

View File

@ -38,7 +38,13 @@ export default function ChatUsers() {
}}
type="button"
>
<span role="img" aria-label={label}>{emoji}</span>
<span
className="users__buttonIcon"
role="img"
aria-label={label}
>
{emoji}
</span>
<span className="users__buttonText">{label}</span>
</button>
</li>

View File

@ -43,6 +43,10 @@
}
}
.users__buttonIcon {
display: flow-root;
}
.users__buttonText {
font-size: 0.7em;
}