mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
@@ -19,13 +19,13 @@ export const FurnitureHighScoreView: FC<{}> = props =>
|
|||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
<ObjectLocationView key={ index } category={ RoomObjectCategory.FLOOR } objectId={ objectId }>
|
<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>
|
<ContextMenuHeaderView>
|
||||||
{ LocalizeText('high.score.display.caption', [ 'scoretype', 'cleartype' ], [ LocalizeText(`high.score.display.scoretype.${ getScoreType(stuffData.scoreType) }`), LocalizeText(`high.score.display.cleartype.${ getClearType(stuffData.clearType) }`) ]) }
|
{ LocalizeText('high.score.display.caption', [ 'scoretype', 'cleartype' ], [ LocalizeText(`high.score.display.scoretype.${ getScoreType(stuffData.scoreType) }`), LocalizeText(`high.score.display.cleartype.${ getClearType(stuffData.clearType) }`) ]) }
|
||||||
</ContextMenuHeaderView>
|
</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 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">
|
<Text bold center className="col-span-8" variant="white">
|
||||||
{ LocalizeText('high.score.display.users.header') }
|
{ LocalizeText('high.score.display.users.header') }
|
||||||
</Text>
|
</Text>
|
||||||
@@ -39,7 +39,7 @@ export const FurnitureHighScoreView: FC<{}> = props =>
|
|||||||
{ stuffData.entries.map((entry, index) =>
|
{ stuffData.entries.map((entry, index) =>
|
||||||
{
|
{
|
||||||
return (
|
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">
|
<Text center className="col-span-8" variant="white">
|
||||||
{ entry.users.join(', ') }
|
{ entry.users.join(', ') }
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
@@ -298,10 +298,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nitro-widget-high-score {
|
.nitro-widget-high-score {
|
||||||
width: 280px;
|
|
||||||
max-width: 280px;
|
|
||||||
height: 320px;
|
|
||||||
|
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
border: solid 1px #000;
|
border: solid 1px #000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user