mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
larger chat, chat icon fixes too finally
This commit is contained in:
@@ -38,7 +38,7 @@ function displayName(message) {
|
||||
// height, while the matching calc() size keeps the avatar square after adding that
|
||||
// top/bottom coverage.
|
||||
const CHAT_ROW_FULL_HEIGHT_AVATAR_CLASS =
|
||||
'my-[-0.125rem] flex h-[calc(1rem+0.25rem)] w-[calc(1rem+0.25rem)] shrink-0 overflow-hidden rounded-none border border-slate-700/80';
|
||||
'my-[-0.125rem] flex h-[calc(1rem+0.25rem)] w-[calc(1rem+0.25rem)] shrink-0 overflow-hidden rounded-none'
|
||||
|
||||
function DiscordAvatar({ guildIconUrl, userAvatarUrl, label }) {
|
||||
if (!guildIconUrl && !userAvatarUrl) return null;
|
||||
@@ -48,7 +48,7 @@ function DiscordAvatar({ guildIconUrl, userAvatarUrl, label }) {
|
||||
title={label}
|
||||
>
|
||||
<span
|
||||
className={`h-full w-1/2 bg-slate-700/70 ${guildIconUrl ? 'bg-cover' : ''}`}
|
||||
className={`h-full w-1/2 ${guildIconUrl ? 'bg-cover' : ''}`}
|
||||
style={
|
||||
guildIconUrl
|
||||
? {
|
||||
@@ -60,7 +60,7 @@ function DiscordAvatar({ guildIconUrl, userAvatarUrl, label }) {
|
||||
}
|
||||
/>
|
||||
<span
|
||||
className={`h-full w-1/2 bg-slate-700/70 ${userAvatarUrl ? 'bg-cover' : ''}`}
|
||||
className={`h-full w-1/2${userAvatarUrl ? 'bg-cover' : ''}`}
|
||||
style={
|
||||
userAvatarUrl
|
||||
? {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import ChatPanel from '../../../components/ChatPanel/index.jsx';
|
||||
|
||||
export default function DisplayChatFeed() {
|
||||
const displayChatScale = 3;
|
||||
const displayChatScale = 3.75;
|
||||
|
||||
return (
|
||||
<section className="h-full min-h-0 overflow-hidden border-t border-slate-800 bg-black p-[0.45vw]">
|
||||
|
||||
Reference in New Issue
Block a user