Skip to content

Commit

Permalink
lo de los engines
Browse files Browse the repository at this point in the history
  • Loading branch information
IUrreta committed Feb 16, 2025
1 parent ab5798f commit 191e308
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ <h5 class="modal-subtitle bold-font">Position</h5>
</a>
<a class="dropdown-item alborder-down bold-font" style="cursor: pointer;" data-teamid="5">
<div class="team-menu-logo">
<div class="alpinelogo-replace team-menu-alpine-replace changable-team-menu-alpine"></div>
<div class="alpine-logo-container">
<div class="alpinelogo-replace team-menu-alpine-replace changable-team-menu-alpine"></div>
</div>
</div>
<div class="team-menu-name alpine-name">
ALPINE
Expand All @@ -242,8 +244,8 @@ <h5 class="modal-subtitle bold-font">Position</h5>
</a>
<a class="dropdown-item atborder-down bold-font" style="cursor: pointer;" data-teamid="8">
<div class="team-menu-logo">
<div
class="atlogo-replace alphataurilogo team-menu-alphatauri-replace changable-team-menu-alphatauri">
<div class="alphatauri-logo-container">
<div class="atlogo-replace alphataurilogo team-menu-alphatauri-replace changable-team-menu-alphatauri"></div>
</div>
</div>
<div class="team-menu-name at-name">
Expand Down
2 changes: 1 addition & 1 deletion src/js/frontend/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ enginesPill.addEventListener("click", function () {
})

export function gather_engines_data() {
let engines = document.querySelectorAll(".engine-performance")
let engines = document.querySelectorAll("#enginesPerformance .engine-performance")
let enginesData = {}
engines.forEach(function (engine) {
let engineID = engine.dataset.engineid
Expand Down
10 changes: 10 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6960,6 +6960,7 @@ input.disabled {

.team-menu-logo {
width: 50px;
height: 42px;
}

.team-menu-aston {
Expand Down Expand Up @@ -8398,6 +8399,15 @@ input::-webkit-inner-spin-button {
padding-right: 2px;
}

#teamContractMenu .alpine-logo-container {
width: auto;
}

#teamContractMenu .alphatauri-logo-container{
width: auto;
padding: 4px;
}

#teamMenu .alphatauri-logo-container:has(.alphataurilogo){
width: 40px;
height: 40px;
Expand Down

0 comments on commit 191e308

Please sign in to comment.