Skip to content

Commit

Permalink
Smaller woosh.png
Browse files Browse the repository at this point in the history
  • Loading branch information
r0levrai committed Nov 2, 2023
1 parent 95089d3 commit d363ee1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file modified textures/woosh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/woosh_big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions vehicle.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
/*grid-area: perfs;*/
}

#vehicle > #preveiw {
#vehicle > #preview {
/*grid-area: nav;*/
width: 100%;
aspect-ratio: 16 / 9;
display: flex;
justify-content: center;
}

#vehicle > #preveiw > img {
#vehicle > #preview > img {
aspect-ratio: 16 / 9;
object-fit: contain;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion vehicle.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>
<img id="perk" src="icons/vehicle-perks/mrsBackfire.png">
</div>

<div img id="preveiw">
<div id="preview">
<img src="textures/woosh.png">
</div>

Expand Down
1 change: 1 addition & 0 deletions vehicle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function load_vehicle(vehicle) {
} else {
document.getElementById('perk').src = `icons/vehicle-perks/${snakecase(vehicle.perk)}.png`;
}
document.querySelector('#vehicle > #preview > img').src = 'textures/woosh_big.png';
}

function load_parts(vehicle, all_bricks, brick_aliases) {
Expand Down

0 comments on commit d363ee1

Please sign in to comment.