mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
fix: Align ticks in bar table cells to 0%, 10%, 20%, etc.
This commit is contained in:
parent
a277d74869
commit
8e8b18e9a9
1 changed files with 4 additions and 2 deletions
|
@ -119,8 +119,10 @@ The model also has to successfully apply all its changes to the source file with
|
||||||
text-align: center; /* Keep text centered */
|
text-align: center; /* Keep text centered */
|
||||||
overflow: hidden; /* Prevent bar from overflowing cell boundaries if needed */
|
overflow: hidden; /* Prevent bar from overflowing cell boundaries if needed */
|
||||||
/* Default tick marks every 10% for percentage cells */
|
/* Default tick marks every 10% for percentage cells */
|
||||||
background-image: repeating-linear-gradient(to right, transparent, transparent 9px, rgba(221, 221, 221, 0.5) 9px, rgba(221, 221, 221, 0.5) 10px);
|
background-image: repeating-linear-gradient(to right,
|
||||||
background-size: 10% 100%;
|
rgba(221, 221, 221, 0.5) 0px, rgba(221, 221, 221, 0.5) 1px,
|
||||||
|
transparent 1px, transparent 10%);
|
||||||
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.cost-bar-cell {
|
.cost-bar-cell {
|
||||||
background-image: none; /* Remove default gradient for cost cells */
|
background-image: none; /* Remove default gradient for cost cells */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue