better html tooltip styling

This commit is contained in:
2026-06-20 06:16:12 +02:00
parent ab37eb5d40
commit 19547d3c5f
2 changed files with 17 additions and 7 deletions

View File

@@ -238,10 +238,27 @@
.tooltip-content {
padding: 20px;
max-width: 500px;
max-height: 60vh;
overflow-y: auto;
word-break: break-word;
overflow-wrap: anywhere;
}
/* Custom Scrollbar for Tooltips */
.tooltip-content::-webkit-scrollbar {
width: 6px;
}
.tooltip-content::-webkit-scrollbar-track {
background: transparent;
}
.tooltip-content::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.tooltip-content::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.payload-box {
background: #0f172a;
color: #e2e8f0;

View File

@@ -81,13 +81,6 @@ public class HtmlExporterTest {
// 7. Assertions - Surgical SVG Identification
// Every event should be wrapped in an identifying hyperlink for robust JS selection
java.nio.file.Files.writeString(java.nio.file.Paths.get("debug_html.html"), html);
click.kamil.springstatemachineexporter.exporter.ExportOptions plantUmlOptions = click.kamil.springstatemachineexporter.exporter.ExportOptions.builder()
.embedIdentifiers(true)
.build();
click.kamil.springstatemachineexporter.exporter.PlantUml pumlExporter = new click.kamil.springstatemachineexporter.exporter.PlantUml();
java.nio.file.Files.writeString(java.nio.file.Paths.get("debug_puml.puml"), pumlExporter.export(result, plantUmlOptions));
assertThat(html).contains("__CREATE");
assertThat(html).contains("__ASSIGN");