Skip to content

Commit 3583af7

Browse files
Typo
1 parent 767bea5 commit 3583af7

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

web/src/pages/reference/ID_Lists/Vehicles.astro

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ const vehicles = {
310310
<li><a href="#lua-no-plate">Vehicles without number plates</a></li>
311311
<li><a href="#lua-3-colors">Vehicles that support up to 3 different colors</a></li>
312312
<li><a href="#lua-no-siren">Vehicles that don't support siren lights</a></li>
313-
<li><a href="#lua-no-engine">Vehicles without engines</a></li>
313+
<li><a href="#lua-no-engine">Vehicles that don't have an engine</a></li>
314314
<li><a href="#lua-2-doors">Vehicles with 2 physically enterable doors</a></li>
315315
<li><a href="#lua-4-doors">Vehicles with 4 physically enterable doors</a></li>
316316
</ul>
@@ -323,7 +323,7 @@ const vehicles = {
323323
<a target="_blank" href={`http://gta.rockstarvision.com/vehicleviewer/#sa`}>
324324
Preview Image
325325
</a>
326-
<div class="vehicle-details"><code>ID</code> <code>Model Name</code></div>
326+
<div class="vehicle-details"><code>ID</code><br><code>Model Name</code></div>
327327
</div>
328328
</div>
329329

@@ -353,7 +353,7 @@ const vehicles = {
353353
class="vehicle-image"
354354
/>
355355
</a>
356-
<div class="vehicle-details"><code>{vehicle.id}</code> <code>{vehicle.modelName}</code></div>
356+
<div class="vehicle-details"><code>{vehicle.id}</code><br><code>{vehicle.modelName}</code></div>
357357
</div>
358358
))}
359359
</div>
@@ -364,9 +364,10 @@ const vehicles = {
364364
))}
365365

366366
<section data-pagefind-ignore>
367+
<h5>Lua tables:</h5>
367368

368369
<details id="lua-all">
369-
<summary>Lua table of all the valid vehicle IDs listed on this page</summary>
370+
<summary>All valid vehicle IDs listed on this page</summary>
370371
<Code lang="lua" code={`
371372
vehicleIds = {
372373
400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415,
@@ -385,7 +386,7 @@ vehicleIds = {
385386
</details>
386387

387388
<details id="lua-names">
388-
<summary>Lua table of all vehicle names</summary>
389+
<summary>All vehicle names</summary>
389390
<Code lang="lua" code={`
390391
-- (when indexing just do a <vehicle model id you want the name of> - 399 to get the name)
391392
vehicleNames = {
@@ -412,7 +413,7 @@ vehicleNames = {
412413
</details>
413414

414415
<details id="lua-model-names">
415-
<summary>Lua table of all vehicle model names</summary>
416+
<summary>All vehicle model names</summary>
416417
<Code lang="lua" code={`
417418
-- (when indexing just do a <vehicle model id you want the name of> - 399 to get the model name)
418419
vehicleModelNames {
@@ -421,7 +422,7 @@ vehicleModelNames {
421422
</details>
422423

423424
<details id="lua-no-lock">
424-
<summary>Lua table of vehicles that are not lockable</summary>
425+
<summary>Vehicles that are not lockable</summary>
425426
<Code lang="lua" code={`
426427
nonLockableVehicles = {
427428
594, 606, 607, 611, 584, 608, 435, 450, 591, 539, 441, 464, 501, 465, 564, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454, 581, 509, 481,
@@ -430,7 +431,7 @@ nonLockableVehicles = {
430431
</details>
431432

432433
<details id="lua-no-plate">
433-
<summary>Lua table of vehicles that do not have number plates</summary>
434+
<summary>Vehicles that do not have number plates</summary>
434435
<Code lang="lua" code={`
435436
noNumberPlates = {
436437
592, 553, 577, 488, 511, 497, 548, 563, 512, 476, 593, 447, 425, 519, 520, 460, 417, 469, 487, 513, 509, 481, 510, 472, 473, 493, 595, 484,
@@ -439,15 +440,15 @@ noNumberPlates = {
439440
</details>
440441

441442
<details id="lua-3-colors">
442-
<summary>Lua table of vehicles that support up to 3 different colors</summary>
443+
<summary>Vehicles that support up to 3 different colors</summary>
443444
<Code lang="lua" code={`
444445
maxColorVehicles = {
445446
483, 524, 446
446447
}`}/>
447448
</details>
448449

449450
<details id="lua-no-siren">
450-
<summary>Lua table of vehicles that do not support siren lights</summary>
451+
<summary>Vehicles that do not support siren lights</summary>
451452
<Code lang="lua" code={`
452453
noSirenLights = {
453454
400, 401, 402, 403, 404, 405, 406, 417, 420, 423, 425, 430, 432, 433, 435, 438, 441, 446, 447, 448, 452, 453, 454, 460, 461, 462, 463, 464,
@@ -457,15 +458,15 @@ noSirenLights = {
457458
</details>
458459

459460
<details id="lua-no-engine">
460-
<summary>Lua table of vehicles that do not have engines</summary>
461+
<summary>Vehicles that do not have an engine</summary>
461462
<Code lang="lua" code={`
462463
noEngineVehicles = { -- such as bicycles and trailers
463464
481, 509, 510, 606, 607, 608, 610, 611, 435, 450, 584, 591, 590, 569, 570, 594
464465
}`}/>
465466
</details>
466467

467468
<details id="lua-2-doors">
468-
<summary>Lua table of vehicles with 2 physically enterable doors</summary>
469+
<summary>Vehicles with 2 physically enterable doors</summary>
469470
<Code lang="lua" code={`
470471
twoDoorVehicles = { -- boats and bikes not included
471472
592, 577, 511, 512, 593, 460, 548, 417, 488, 563, 447, 469,
@@ -484,7 +485,7 @@ twoDoorVehicles = { -- boats and bikes not included
484485
</details>
485486

486487
<details id="lua-4-doors">
487-
<summary>Lua table of vehicles with 4 physically enterable doors</summary>
488+
<summary>Vehicles with 4 physically enterable doors</summary>
488489
<Code lang="lua" code={`
489490
fourDoorVehicles = { -- boats and bikes not included
490491
487, 497,
@@ -534,11 +535,13 @@ fourDoorVehicles = { -- boats and bikes not included
534535
text-align: center;
535536
}
536537
@media (max-width: 600px) {
538+
/* Align the list items */
537539
.vehicle-list {
538540
justify-content: center;
539541
}
542+
/* Align the titles */
540543
.vehicle-category-title,
541-
.vehicle-othercategory-title,
544+
.vehicle-category-othertitle,
542545
.vehicle-subcategory-title {
543546
text-align: center;
544547
}
@@ -550,8 +553,11 @@ fourDoorVehicles = { -- boats and bikes not included
550553
padding: 0.2rem;
551554
margin: 0;
552555
border: 1px solid var(--sl-color-gray-4);
553-
width: 140px;
554-
font-size: 0.9rem;
556+
width: 100px;
557+
font-size: 0.7rem;
558+
}
559+
.vehicle-item code {
560+
font-size: 0.7rem;
555561
}
556562
.vehicle-item .vehicle-title {
557563
margin-bottom: 1rem;
@@ -560,7 +566,7 @@ fourDoorVehicles = { -- boats and bikes not included
560566
margin-top: 1rem;
561567
}
562568
.vehicle-item .vehicle-image {
563-
width: 64px;
569+
width: 90px;
564570
height: 32px;
565571
object-fit: contain;
566572
margin: 0 auto;

0 commit comments

Comments
 (0)