mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
Fix mod tool
This commit is contained in:
parent
4877e1b8a5
commit
77da66700e
@ -77,7 +77,7 @@ export const ChatlogView: FC<ChatlogViewProps> = props =>
|
||||
{ (isRoomInfo && currentRecord) &&
|
||||
<RoomInfo roomId={ currentRecord.roomId } roomName={ currentRecord.roomName } uniqueKey={ props.key } style={ props.style } /> }
|
||||
{ !isRoomInfo &&
|
||||
<Grid key={ props.key } style={ props.style } gap={ 1 } alignItems="center" className="log-entry py-1 border-bottom">
|
||||
<Grid key={ props.key } fullHeight={ false } style={ props.style } gap={ 1 } alignItems="center" className="log-entry py-1 border-bottom">
|
||||
<Text className="g-col-2">{ chatlogEntry.timestamp }</Text>
|
||||
<Text className="g-col-3" bold underline pointer onClick={ event => SendMessageComposer(new UserProfileComposer(chatlogEntry.userId)) }>{ chatlogEntry.userName }</Text>
|
||||
<Text textBreak wrap className="g-col-7">{ chatlogEntry.message }</Text>
|
||||
|
@ -34,7 +34,7 @@ export const CfhChatlogView: FC<CfhChatlogViewProps> = props =>
|
||||
UseMessageEventHook(CfhChatlogEvent, onCfhChatlogEvent);
|
||||
|
||||
return (
|
||||
<NitroCardView className="nitro-mod-tools-cfh-chatlog" theme="primary-slim">
|
||||
<NitroCardView className="nitro-mod-tools-chatlog" theme="primary-slim">
|
||||
<NitroCardHeaderView headerText={'Issue Chatlog'} onCloseClick={onCloseClick} />
|
||||
<NitroCardContentView className="text-black">
|
||||
{ chatlogData && <ChatlogView records={[chatlogData.chatRecord]} />}
|
||||
|
@ -32,7 +32,7 @@ export const ModToolsUserRoomVisitsView: FC<ModToolsUserRoomVisitsViewProps> = p
|
||||
const item = roomVisitData.rooms[props.index];
|
||||
|
||||
return (
|
||||
<Grid key={ props.key } style={ props.style } gap={ 1 } alignItems="center" className="text-black py-1 border-bottom">
|
||||
<Grid key={ props.key } fullHeight={ false } style={ props.style } gap={ 1 } alignItems="center" className="text-black py-1 border-bottom">
|
||||
<Text className="g-col-2">{ item.enterHour.toString().padStart(2, '0') }: { item.enterMinute.toString().padStart(2, '0') }</Text>
|
||||
<Text className="g-col-7">{ item.roomName }</Text>
|
||||
<Text bold underline pointer variant="primary" className="g-col-3" onClick={ event => TryVisitRoom(item.roomId) }>Visit Room</Text>
|
||||
@ -69,7 +69,7 @@ export const ModToolsUserRoomVisitsView: FC<ModToolsUserRoomVisitsViewProps> = p
|
||||
width={ width }
|
||||
height={ height }
|
||||
rowCount={ roomVisitData.rooms.length }
|
||||
rowHeight={ 20 }
|
||||
rowHeight={ 25 }
|
||||
className={'log-entry-container' }
|
||||
rowRenderer={ RowRenderer }
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user