🆙 Fix highscore wired view

This commit is contained in:
duckietm
2026-04-03 12:36:57 +02:00
parent 9df5663103
commit d5a5c1683f
3 changed files with 4 additions and 8 deletions
@@ -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>
View File
-4
View File
@@ -298,10 +298,6 @@
}
.nitro-widget-high-score {
width: 280px;
max-width: 280px;
height: 320px;
border-radius: 0.3rem;
border: solid 1px #000;