mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Fix highscore wired view
This commit is contained in:
@@ -19,13 +19,13 @@ export const FurnitureHighScoreView: FC<{}> = props =>
|
||||
{
|
||||
return (
|
||||
<ObjectLocationView key={ index } category={ RoomObjectCategory.FLOOR } objectId={ objectId }>
|
||||
<Column className="nitro-widget-high-score nitro-context-menu" gap={ 0 }>
|
||||
<Column className="nitro-widget-high-score nitro-context-menu bg-[#1e1f23] p-2 w-[280px] max-w-[280px] h-[320px]" gap={ 0 }>
|
||||
<ContextMenuHeaderView>
|
||||
{ LocalizeText('high.score.display.caption', [ 'scoretype', 'cleartype' ], [ LocalizeText(`high.score.display.scoretype.${ getScoreType(stuffData.scoreType) }`), LocalizeText(`high.score.display.cleartype.${ getClearType(stuffData.clearType) }`) ]) }
|
||||
</ContextMenuHeaderView>
|
||||
<ContextMenuListView className="h-full" gap={ 1 } overflow="hidden">
|
||||
<ContextMenuListView className="!h-auto" gap={ 1 } overflow="hidden">
|
||||
<div className="flex flex-col gap-1">
|
||||
<div className="flex items-center">
|
||||
<div className="flex items-center justify-between">
|
||||
<Text bold center className="col-span-8" variant="white">
|
||||
{ LocalizeText('high.score.display.users.header') }
|
||||
</Text>
|
||||
@@ -39,7 +39,7 @@ export const FurnitureHighScoreView: FC<{}> = props =>
|
||||
{ stuffData.entries.map((entry, index) =>
|
||||
{
|
||||
return (
|
||||
<div key={ index } className="flex items-center">
|
||||
<div key={ index } className="flex items-center justify-between">
|
||||
<Text center className="col-span-8" variant="white">
|
||||
{ entry.users.join(', ') }
|
||||
</Text>
|
||||
|
||||
@@ -298,10 +298,6 @@
|
||||
}
|
||||
|
||||
.nitro-widget-high-score {
|
||||
width: 280px;
|
||||
max-width: 280px;
|
||||
height: 320px;
|
||||
|
||||
border-radius: 0.3rem;
|
||||
border: solid 1px #000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user