Skip to content

Commit c3c33db

Browse files
committed
styling updates
1 parent 8d20cae commit c3c33db

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

src/features/feeds/components/Tables.module.css

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,18 @@
5959
background-color: var(--gray-50);
6060
border-radius: var(--border-radius);
6161
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
62-
transition: box-shadow 0.2s ease;
62+
transition: all 0.2s ease;
6363
user-select: none;
6464
}
6565

6666
.expandableHeader:hover {
67-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
67+
background-color: var(--gray-100) !important;
68+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
69+
}
70+
71+
.expandableHeader:focus-visible {
72+
outline: 2px solid var(--blue-500);
73+
outline-offset: 2px;
6874
}
6975

7076
.expandableHeader:active {
@@ -298,17 +304,24 @@
298304
margin: 0 0 var(--space-2x) 0;
299305
}
300306

307+
.tableContainer {
308+
border: 1px solid var(--border-color, #e5e7eb);
309+
border-radius: 4px;
310+
overflow: hidden;
311+
margin-top: var(--space-3x);
312+
margin-left: var(--space-4x);
313+
}
314+
301315
.networksTable {
302316
width: 100%;
303317
border-collapse: collapse !important;
304318
font-size: 0.875rem;
305319
margin-bottom: 0;
306320
table-layout: fixed !important;
307-
border: 1px solid var(--border-color, #e5e7eb);
308-
border-radius: 4px;
321+
border: none !important;
322+
border-radius: 0;
309323
}
310324

311-
.networksTable,
312325
.networksTable tr,
313326
.networksTable td {
314327
border: none;

src/features/feeds/components/Tables.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ export const StreamsNetworkAddressesTable = ({
637637
)}
638638

639639
{(!allowExpansion || isExpanded) && (
640-
<div>
640+
<div className={tableStyles.tableContainer}>
641641
<div className={feedList.filterDropdown_search} style={{ padding: "0.5rem" }}>
642642
<div style={{ display: "flex", alignItems: "center", gap: "0.5rem", flex: 1 }}>
643643
<input

0 commit comments

Comments
 (0)