mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
style: Adjust tear line height and position in leaderboard table
This commit is contained in:
parent
e38be2f280
commit
11d2b7ca98
1 changed files with 4 additions and 2 deletions
|
@ -231,8 +231,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
const tearLine = document.createElement('div');
|
||||
tearLine.style.position = 'absolute';
|
||||
tearLine.style.left = '85%';
|
||||
tearLine.style.top = '0';
|
||||
tearLine.style.height = '100%';
|
||||
// Center the tear line vertically and make it 1.5x as tall as the bar
|
||||
tearLine.style.top = '50%';
|
||||
tearLine.style.transform = 'translateY(-50%)';
|
||||
tearLine.style.height = '54px'; // 1.5x the bar height (36px)
|
||||
tearLine.style.width = '2px';
|
||||
tearLine.style.backgroundColor = 'white';
|
||||
tearLine.style.borderLeft = '2px dashed rgba(0, 0, 0, 0.3)';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue