mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
style: Fix inconsistent bar heights in leaderboards table
This commit is contained in:
parent
a4074a13c4
commit
813d34a0e9
1 changed files with 3 additions and 4 deletions
|
@ -122,11 +122,10 @@ The model also has to successfully apply all its changes to the source file with
|
||||||
.bar-viz {
|
.bar-viz {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 50%; /* Position at the middle of the cell */
|
||||||
bottom: 0;
|
transform: translateY(-50%); /* Center the bar vertically */
|
||||||
z-index: 0; /* Behind the text */
|
z-index: 0; /* Behind the text */
|
||||||
height: 60%; /* Bar height */
|
height: 24px; /* Fixed bar height */
|
||||||
margin: auto 0; /* Vertical centering */
|
|
||||||
border-radius: 0 2px 2px 0; /* Slightly rounded end corners */
|
border-radius: 0 2px 2px 0; /* Slightly rounded end corners */
|
||||||
/* Width and colors are set inline via style attribute */
|
/* Width and colors are set inline via style attribute */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue