heroes-of-chess-components 0.6.37 → 0.6.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -118,18 +118,19 @@ const HRaceTable: React.FC<HRaceTableProps> = ({ data, points }) => {
|
|
|
118
118
|
align="center"
|
|
119
119
|
gap="15px"
|
|
120
120
|
>
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
121
|
+
<div style={{ maxWidth: "1200px", width: "100%" }}>
|
|
122
|
+
<HBox
|
|
123
|
+
borderRadius="23px"
|
|
124
|
+
width="100%"
|
|
125
|
+
direction="column"
|
|
126
|
+
background={"purpleLight"}
|
|
127
|
+
overflowY="auto"
|
|
128
|
+
justify="flex-start"
|
|
129
|
+
align="flex-start"
|
|
130
|
+
padding="25px 10px 10px 10px"
|
|
131
|
+
margin="0 0px 10px 0"
|
|
132
|
+
gap="0"
|
|
133
|
+
>
|
|
133
134
|
{data?.map((point, index) => (
|
|
134
135
|
<HBox
|
|
135
136
|
borderRadius="23px"
|
|
@@ -168,8 +169,13 @@ const HRaceTable: React.FC<HRaceTableProps> = ({ data, points }) => {
|
|
|
168
169
|
width="88%"
|
|
169
170
|
height="60px"
|
|
170
171
|
>
|
|
172
|
+
<CharacterImage
|
|
173
|
+
src={setCharacterPicture(getPlayerProfileInfo(point) || {}).picture}
|
|
174
|
+
margin="0 10px 0 10px"
|
|
175
|
+
style={{ width: "50px", height: "50px" }}
|
|
176
|
+
/>
|
|
171
177
|
<HTitle
|
|
172
|
-
padding={"1em"}
|
|
178
|
+
padding={"0 1em"}
|
|
173
179
|
text={getPlayerName(point)}
|
|
174
180
|
color={"purpleMedium"}
|
|
175
181
|
margin="0"
|
|
@@ -207,7 +213,8 @@ const HRaceTable: React.FC<HRaceTableProps> = ({ data, points }) => {
|
|
|
207
213
|
</HBox>
|
|
208
214
|
</HBox>
|
|
209
215
|
))}
|
|
210
|
-
|
|
216
|
+
</HBox>
|
|
217
|
+
</div>
|
|
211
218
|
{/* PODIO */}
|
|
212
219
|
<div style={{ alignSelf: isMobile ? "center" : "flex-start", marginTop: "50px", width: "40%" }}>
|
|
213
220
|
<HBox
|