Skip to content

Commit 206d04e

Browse files
committed
ui info sidebar 2
1 parent ec49265 commit 206d04e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Pictogram/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const Pictogram: FC<PictogramType> = ({ data, consumptionType }) => {
3131
5-Personenhaushalten (
3232
{energyComparison[consumptionType].toLocaleString('de-DE')} kWh).
3333
</p>
34-
{Array.apply(null, { length: 40 }).map((d, i) => (
34+
{Array.apply(null, { length: 35 }).map((d, i) => (
3535
<>
3636
<span className="inline-block ">
3737
<House size={22} />

src/components/Sidebar/content/SidebarContentEntity/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function Comparision({ consumptionType, rankingInfo, setEntityId }) {
3939
consumptionType === 'electricity' ? 'Stromverbrauch' : 'Wärmeverbrauch'
4040
} liegt im Ranking auf Platz ${rankingInfo.rankingPosition} von ${
4141
rankingInfo.rankingLength
42-
}. `
42+
}. Finde Grundstücke mit hören bzw. niederigern Verbrauch.`
4343
}
4444

4545
return (
@@ -50,15 +50,15 @@ function Comparision({ consumptionType, rankingInfo, setEntityId }) {
5050
<span className="flex pt-4">
5151
<button
5252
className={classNames(
53-
'disabled:opacity-50 text-xs py-2 bg-white/50 mr-1 rounded border hover:border-primary'
53+
'disabled:opacity-50 text-xs py-2 flex-1 justify-center flex bg-white/50 mr-1 rounded border hover:border-primary'
5454
)}
5555
onClick={() => setEntityId(rankingInfo.idMore)}
5656
disabled={!rankingInfo.idMore}
5757
>
5858
<Plus />
5959
</button>
6060
<button
61-
className="disabled:opacity-50 text-xs py-2 bg-white/50 ml-1 rounded border hover:border-primary"
61+
className="disabled:opacity-50 text-xs py-2 flex-1 justify-center flex bg-white/50 ml-1 rounded border hover:border-primary"
6262
onClick={() => setEntityId(rankingInfo.idLess)}
6363
disabled={!rankingInfo.idLess}
6464
>
@@ -254,7 +254,7 @@ export const SidebarContentEntity: FC<SidebarContentEntityType> = ({
254254
</span>
255255
</p>
256256
<p>
257-
Prio:{' '}
257+
Prio.:{' '}
258258
<span className="font-bold">
259259
{feat['housePrio']} von {pointDataLenght}
260260
</span>

0 commit comments

Comments
 (0)