Spaces:
Running
Running
Commit ·
ea743d6
1
Parent(s): c2e39a4
Remove gap between title and subtitle
Browse files- assets/app.js +1 -1
- assets/style.css +1 -1
- index.html +1 -1
assets/app.js
CHANGED
|
@@ -381,7 +381,7 @@
|
|
| 381 |
var header = document.querySelector('.header');
|
| 382 |
if (!header) return;
|
| 383 |
function update() {
|
| 384 |
-
document.documentElement.style.setProperty('--header-h', header.
|
| 385 |
}
|
| 386 |
update();
|
| 387 |
if (window.ResizeObserver) new ResizeObserver(update).observe(header);
|
|
|
|
| 381 |
var header = document.querySelector('.header');
|
| 382 |
if (!header) return;
|
| 383 |
function update() {
|
| 384 |
+
document.documentElement.style.setProperty('--header-h', header.getBoundingClientRect().height + 'px');
|
| 385 |
}
|
| 386 |
update();
|
| 387 |
if (window.ResizeObserver) new ResizeObserver(update).observe(header);
|
assets/style.css
CHANGED
|
@@ -88,7 +88,7 @@ a { color: var(--accent); }
|
|
| 88 |
margin-top: -16px; padding-top: 16px;
|
| 89 |
}
|
| 90 |
.tabs {
|
| 91 |
-
position: sticky; top: var(--header-h, 100px); z-index: 19; background: var(--bg);
|
| 92 |
margin-bottom: 0; padding-top: 2px;
|
| 93 |
}
|
| 94 |
.tabs ~ [role="tabpanel"] { padding-top: 12px; }
|
|
|
|
| 88 |
margin-top: -16px; padding-top: 16px;
|
| 89 |
}
|
| 90 |
.tabs {
|
| 91 |
+
position: sticky; top: calc(var(--header-h, 100px) - 1px); z-index: 19; /* 1px overlap: no gap from rounding */ background: var(--bg);
|
| 92 |
margin-bottom: 0; padding-top: 2px;
|
| 93 |
}
|
| 94 |
.tabs ~ [role="tabpanel"] { padding-top: 12px; }
|
index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<!-- Bumped with every data refresh (shown in the header). -->
|
| 7 |
-
<meta name="selectarena-version" content="0.8.
|
| 8 |
<title>SelectArena Leaderboard</title>
|
| 9 |
<meta name="description" content="Leaderboard of feature selection methods on real-world tabular data.">
|
| 10 |
<link rel="icon" type="image/svg+xml" href="assets/logo.svg">
|
|
|
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<!-- Bumped with every data refresh (shown in the header). -->
|
| 7 |
+
<meta name="selectarena-version" content="0.8.6">
|
| 8 |
<title>SelectArena Leaderboard</title>
|
| 9 |
<meta name="description" content="Leaderboard of feature selection methods on real-world tabular data.">
|
| 10 |
<link rel="icon" type="image/svg+xml" href="assets/logo.svg">
|