Skip to content

Commit bd37862

Browse files
committed
Add compact column style for the "# Sites" header in the exceptions table.
1 parent 5f802eb commit bd37862

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/exceptions-table/table-styles.css.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@ export default css`
5959
flex-wrap: wrap;
6060
gap: 0.3em;
6161
}
62+
63+
.compact-col {
64+
width: 1%;
65+
white-space: nowrap;
66+
}
6267
`;

src/exceptions-table/top-exceptions-table.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class TopExceptionsTable extends LitElement {
101101
<table>
102102
<thead>
103103
<tr>
104-
<th># Sites</th>
104+
<th class="compact-col"># Sites</th>
105105
<th>Resource</th>
106106
<th>Detail</th>
107107
</tr>
@@ -110,7 +110,7 @@ export class TopExceptionsTable extends LitElement {
110110
${this.topResources.map(
111111
(topResource) => html`
112112
<tr>
113-
<td>${topResource.topLevelSites.size}</td>
113+
<td class="compact-col">${topResource.topLevelSites.size}</td>
114114
<td>${renderUrlPattern(topResource.urlPattern)}</td>
115115
<td>
116116
<button

0 commit comments

Comments
 (0)