fix
This commit is contained in:
parent
caf94c97e5
commit
ca4c1ba885
@ -56,7 +56,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- Row with text and buttons -->
|
<!-- Row with text and buttons -->
|
||||||
<div class="level">
|
<div class="level is-mobile">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<button class="button is-small" hx-get="/loadUsageKPI?month={{ DateID }}&offset=-1"
|
<button class="button is-small" hx-get="/loadUsageKPI?month={{ DateID }}&offset=-1"
|
||||||
hx-swap="outerHTML" hx-target="#usage-dropdown">
|
hx-swap="outerHTML" hx-target="#usage-dropdown">
|
||||||
@ -112,4 +112,20 @@
|
|||||||
totalCountCells[i].classList.remove('is-hidden');
|
totalCountCells[i].classList.remove('is-hidden');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.level {
|
||||||
|
width: 100%;
|
||||||
|
/* Ensure the level takes the full width of its container */
|
||||||
|
max-width: 300px;
|
||||||
|
/* Set a max-width to keep the popover size consistent */
|
||||||
|
margin: 0 auto;
|
||||||
|
/* Center the level horizontally */
|
||||||
|
}
|
||||||
|
|
||||||
|
.level-item p {
|
||||||
|
white-space: nowrap;
|
||||||
|
/* Prevent the text from wrapping */
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
x
Reference in New Issue
Block a user