mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
fix mod tools chatlog button size on small screens
This commit is contained in:
parent
f5d75f91cc
commit
afc3097896
@ -104,8 +104,8 @@ export const ChatlogView: FC<ChatlogViewProps> = props =>
|
|||||||
return (
|
return (
|
||||||
<div key={uniqueKey} style={style} className="row justify-content-start gap-2 room-info">
|
<div key={uniqueKey} style={style} className="row justify-content-start gap-2 room-info">
|
||||||
<div className="col-7"><span className="fw-bold">Room: </span>{roomName}</div>
|
<div className="col-7"><span className="fw-bold">Room: </span>{roomName}</div>
|
||||||
<button className="btn btn-sm btn-primary col-sm-auto" onClick={() => TryVisitRoom(roomId)}>Visit Room</button>
|
<button className="btn btn-sm btn-primary col-auto" onClick={() => TryVisitRoom(roomId)}>Visit Room</button>
|
||||||
<button className="btn btn-sm btn-primary col-sm-auto" onClick={() => dispatchUiEvent(new ModToolsOpenRoomInfoEvent(roomId))}>Room Tools</button>
|
<button className="btn btn-sm btn-primary col-auto" onClick={() => dispatchUiEvent(new ModToolsOpenRoomInfoEvent(roomId))}>Room Tools</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}, []);
|
}, []);
|
||||||
|
@ -36,7 +36,7 @@ export const ModToolsUserRoomVisitsView: FC<ModToolsUserRoomVisitsViewProps> = p
|
|||||||
<div style={props.style} key={props.key} className="row room-visit">
|
<div style={props.style} key={props.key} className="row room-visit">
|
||||||
<div className="col-auto text-center">{item.enterHour.toString().padStart(2, '0')}:{item.enterMinute.toString().padStart(2, '0')}</div>
|
<div className="col-auto text-center">{item.enterHour.toString().padStart(2, '0')}:{item.enterMinute.toString().padStart(2, '0')}</div>
|
||||||
<div className="col-7"><span className="fw-bold">Room: </span>{item.roomName}</div>
|
<div className="col-7"><span className="fw-bold">Room: </span>{item.roomName}</div>
|
||||||
<button className="btn btn-sm btn-link col-sm-auto fw-bold" onClick={() => TryVisitRoom(item.roomId)}>Visit Room</button>
|
<button className="btn btn-sm btn-link col-auto fw-bold" onClick={() => TryVisitRoom(item.roomId)}>Visit Room</button>
|
||||||
</div>);
|
</div>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user