Fix Gateway events column widths being overridden by the Performance table's CSS

This commit is contained in:
2026-09-20 12:04:27 -04:00
parent 547f14d874
commit 3bda4088c4
4 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
<title>Site Gateway</title>
<meta name="description" content="Host sites, proxy services, and manage HTTPS from one simple dashboard.">
<link rel="icon" type="image/png" href="/site-gateway-icon-approved.png">
<link rel="stylesheet" href="/styles.css?v=0.16.57">
<link rel="stylesheet" href="/styles.css?v=0.16.58">
</head>
<!-- ================================================================
@@ -451,6 +451,6 @@
<div id="toast" class="toast" role="status"></div>
<div id="update-banner" class="update-banner hidden" role="status"><span>A new version of Site Gateway is available.</span><div class="update-banner-actions"><button id="update-banner-refresh" class="button primary">Refresh</button><button id="update-banner-dismiss" class="text-button">Dismiss</button></div></div>
<!-- App scripts: core (app.js) then extended views/admin (features.js) -->
<script src="/app.js?v=0.16.57" defer></script><script src="/features.js?v=0.16.57" defer></script><script src="/select-enhance.js?v=0.16.57" defer></script>
<script src="/app.js?v=0.16.58" defer></script><script src="/features.js?v=0.16.58" defer></script><script src="/select-enhance.js?v=0.16.58" defer></script>
</body>
</html>
+5 -5
View File
@@ -256,11 +256,11 @@ header{align-items:flex-end}
.upstream-copy.idle{color:var(--warning)}
.event-table-wrap{max-height:min(52vh,620px);overflow:auto;margin-top:var(--space-4)}
.event-table-wrap .event-table thead th{position:sticky;top:0;background:var(--panel);z-index:1}
.event-table th:nth-child(1),.event-table td:nth-child(1){width:190px;white-space:nowrap}
.event-table th:nth-child(2),.event-table td:nth-child(2){width:110px;white-space:nowrap}
.event-table th:nth-child(3),.event-table td:nth-child(3){width:140px;white-space:nowrap}
.event-table th:nth-child(4),.event-table td:nth-child(4){white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){.event-table th:nth-child(1),.event-table td:nth-child(1){width:150px}}
table.event-table th:nth-child(1),table.event-table td:nth-child(1){width:190px;white-space:nowrap;text-align:left}
table.event-table th:nth-child(2),table.event-table td:nth-child(2){width:110px;white-space:nowrap;text-align:left}
table.event-table th:nth-child(3),table.event-table td:nth-child(3){width:140px;white-space:nowrap;text-align:left}
table.event-table th:nth-child(4),table.event-table td:nth-child(4){width:auto;white-space:normal;overflow-wrap:anywhere;text-align:left}
@media(max-width:900px){table.event-table th:nth-child(1),table.event-table td:nth-child(1){width:150px}}
.event-table td .status-dot{margin-right:6px;vertical-align:-1px}
.activity-mark.bad{background:rgba(var(--danger-rgb),.12);color:var(--danger)}
.feature-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}