Skip to content

Commit d830dbc

Browse files
committed
Merge branch 'main' into feature/tri-6738-show-aggregated-logs-in-main-page
# Conflicts: # apps/webapp/app/components/primitives/Table.tsx
2 parents 29e1d38 + 7a94908 commit d830dbc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

apps/webapp/app/components/primitives/Table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const TableHeader = forwardRef<HTMLTableSectionElement, TableHeaderProps>
101101
<thead
102102
ref={ref}
103103
className={cn(
104-
"sticky top-0 z-10 after:absolute after:bottom-0 after:left-0 after:right-0 after:h-px after:bg-grid-bright",
104+
"safari-only sticky top-0 z-10 after:absolute after:bottom-0 after:left-0 after:right-0 after:h-px after:bg-grid-bright supports-[(-webkit-hyphens:none)]:after:content-none",
105105
variants[variant].header,
106106
className
107107
)}
@@ -275,7 +275,7 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
275275
<td
276276
ref={ref}
277277
className={cn(
278-
"text-charcoal-400 has-[[tabindex='0']:focus]:before:absolute has-[[tabindex='0']:focus]:before:-top-px has-[[tabindex='0']:focus]:before:left-0 has-[[tabindex='0']:focus]:before:h-px has-[[tabindex='0']:focus]:before:w-3 has-[[tabindex='0']:focus]:before:bg-grid-dimmed has-[[tabindex='0']:focus]:after:absolute has-[[tabindex='0']:focus]:after:bottom-0 has-[[tabindex='0']:focus]:after:left-0 has-[[tabindex='0']:focus]:after:right-0 has-[[tabindex='0']:focus]:after:h-px has-[[tabindex='0']:focus]:after:bg-grid-dimmed",
278+
"safari-only text-xs text-charcoal-400 has-[[tabindex='0']:focus]:before:absolute has-[[tabindex='0']:focus]:before:-top-px has-[[tabindex='0']:focus]:before:left-0 has-[[tabindex='0']:focus]:before:h-px has-[[tabindex='0']:focus]:before:w-3 has-[[tabindex='0']:focus]:before:bg-grid-dimmed has-[[tabindex='0']:focus]:after:absolute has-[[tabindex='0']:focus]:after:bottom-0 has-[[tabindex='0']:focus]:after:left-0 has-[[tabindex='0']:focus]:after:right-0 has-[[tabindex='0']:focus]:after:h-px has-[[tabindex='0']:focus]:after:bg-grid-dimmed",
279279
variants[variant].cellText,
280280
variants[variant].cell,
281281
to || onClick || hasAction

apps/webapp/app/tailwind.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
inherits: false;
1212
}
1313

14+
@supports (-webkit-hyphens: none) {
15+
.safari-only {
16+
@apply border-b border-grid-dimmed;
17+
}
18+
}
19+
1420
@layer base {
1521
* {
1622
@apply border-grid-bright;

0 commit comments

Comments
 (0)