mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-15 12:15:55 +00:00
fix(Map): Refactor Local - show ship name, change placement of ship name. Refactor On the Map - show corp and ally logo. Fixed problem with ellipsis at long character and ship names.
This commit is contained in:
@@ -44,7 +44,7 @@ export const TrackingCharactersList = () => {
|
||||
bodyClassName="text-ellipsis overflow-hidden whitespace-nowrap"
|
||||
headerClassName="[&_div]:ml-2"
|
||||
body={row => {
|
||||
return <CharacterCard showShipName={false} showSystem={false} isOwn {...row.character} />;
|
||||
return <CharacterCard showCorporationLogo showTicker isOwn {...row.character} />;
|
||||
}}
|
||||
/>
|
||||
</DataTable>
|
||||
|
||||
@@ -10,8 +10,8 @@ const renderValCharacterTemplate = (row: TrackingCharacter | undefined) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="py-1">
|
||||
<CharacterCard compact showShipName={false} showSystem={false} isOwn {...row.character} />
|
||||
<div className="py-1 w-full">
|
||||
<CharacterCard compact isOwn {...row.character} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -21,7 +21,11 @@ const renderCharacterTemplate = (row: TrackingCharacter | undefined) => {
|
||||
return <div className="h-[33px] flex items-center">Character is not selected</div>;
|
||||
}
|
||||
|
||||
return <CharacterCard showShipName={false} showSystem={false} isOwn {...row.character} />;
|
||||
return (
|
||||
<div className="w-full">
|
||||
<CharacterCard isOwn {...row.character} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const TrackingSettings = () => {
|
||||
|
||||
Reference in New Issue
Block a user