Skip to content

Commit 10b8083

Browse files
committed
Jankily wrap recent connection error
1 parent 3658ed2 commit 10b8083

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/kotlin/com/coder/gateway/views/CoderGatewayRecentWorkspaceConnectionsView.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ class CoderGatewayRecentWorkspaceConnectionsView(private val setContentCallback:
245245
)
246246
}.topGap(gap)
247247
row {
248-
label(status.third).applyToComponent { foreground = status.second }
248+
// There must be a way to make this properly wrap?
249+
label("<html><body style='width:350px;'>" + status.third + "</html>").applyToComponent {
250+
foreground = status.second
251+
}
249252
}
250253
connections.forEach { workspaceProjectIDE ->
251254
row {

0 commit comments

Comments
 (0)