Skip to content

Commit ca9ae6e

Browse files
committed
web: header owns the grid's top border; timeline icons stay under the sticky headers
1 parent 6ce97cf commit ca9ae6e

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎web/src/App.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function label(key: string): string {
3838
</script>
3939

4040
<template>
41-
<header class="shrink-0 px-4 pt-4 pb-4 md:px-6 md:pt-6 md:pb-5">
41+
<header class="shrink-0 border-b border-neutral-200 px-4 pt-4 pb-4 md:px-6 md:pt-6 md:pb-5 dark:border-neutral-700/80">
4242
<div class="flex items-start justify-between gap-4">
4343
<h1 class="text-2xl font-semibold tracking-tight">NativeScript compatibility</h1>
4444
<ThemeToggle />

‎web/src/components/CellDetails.vue‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ function shortDate(version: string): string {
7070
</script>
7171

7272
<template>
73-
<div>
73+
<!-- isolate: the timeline raises its icons above the track, and that must not reach the grid's sticky headers. -->
74+
<div class="isolate">
7475
<p class="text-sm">
7576
<strong>{{ label }}</strong>
7677
<template v-if="summary.rawRange">

‎web/src/components/CompatGrid.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const headCell = `sticky z-10 bg-neutral-50 text-center font-semibold dark:bg-ne
8383
</script>
8484

8585
<template>
86-
<div class="border-y border-neutral-200 dark:border-neutral-700/80">
86+
<div class="border-b border-neutral-200 dark:border-neutral-700/80">
8787
<table class="w-full min-w-(--grid-min-width) table-fixed border-separate border-spacing-0 text-sm">
8888
<colgroup>
8989
<col class="w-32 md:w-40 lg:w-88" />

0 commit comments

Comments
 (0)