Skip to content

Commit 161eda2

Browse files
committed
feat: ssl status: add horizontal scroll to table
1 parent 33fa61b commit 161eda2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/ui/src/pages/dashboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ function Dashboard() {
282282
</div>
283283

284284
{service.messageDetails && service.kind === 'sslstatus' ? (
285-
<div style={{ fontSize: '11px', marginBottom: '10px' }}>
286-
<table style={{ width: '100%', borderCollapse: 'collapse', border: '1px solid #ccc' }}>
285+
<div style={{ fontSize: '11px', marginBottom: '10px', overflowX: 'auto', maxWidth: '100%' }}>
286+
<table style={{ width: 'max-content', borderCollapse: 'collapse', border: '1px solid #ccc' }}>
287287
<thead>
288288
<tr>
289289
<th style={{ border: '1px solid #ccc', padding: '8px', textAlign: 'left' }}>Severity</th>

0 commit comments

Comments
 (0)