This is an automated email from the ASF dual-hosted git repository.
SvenO3 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 6cd32d5d3a fix: Avoid action menu item line break (#4710)
6cd32d5d3a is described below
commit 6cd32d5d3a41116d2ec50e052ad40ac786afc276
Author: Sven Oehler <[email protected]>
AuthorDate: Fri Jul 10 17:13:12 2026 +0200
fix: Avoid action menu item line break (#4710)
---
.../src/lib/components/sp-table/sp-table.component.html | 2 +-
ui/src/scss/sp/sp-theme.scss | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git
a/ui/projects/streampipes/shared-ui/src/lib/components/sp-table/sp-table.component.html
b/ui/projects/streampipes/shared-ui/src/lib/components/sp-table/sp-table.component.html
index 01dbff145d..ea799b6ac0 100644
---
a/ui/projects/streampipes/shared-ui/src/lib/components/sp-table/sp-table.component.html
+++
b/ui/projects/streampipes/shared-ui/src/lib/components/sp-table/sp-table.component.html
@@ -416,7 +416,7 @@
>
<mat-icon>more_vert</mat-icon>
</button>
- <mat-menu #menu="matMenu">
+ <mat-menu #menu="matMenu" class="sp-table-actions-menu">
<ng-container
*ngTemplateOutlet="
actionsTemplate;
diff --git a/ui/src/scss/sp/sp-theme.scss b/ui/src/scss/sp/sp-theme.scss
index e2cff563f6..52a9bda74f 100644
--- a/ui/src/scss/sp/sp-theme.scss
+++ b/ui/src/scss/sp/sp-theme.scss
@@ -147,6 +147,11 @@ html {
overflow: hidden;
}
+ .sp-table-actions-menu.mat-mdc-menu-panel {
+ min-width: 13rem;
+ max-width: min(28rem, calc(100vw - 2rem));
+ }
+
.mat-mdc-menu-content {
padding: var(--space-xs) 0;
}
@@ -179,6 +184,10 @@ html {
line-height: 1.25rem;
}
+ .sp-table-actions-menu .mat-mdc-menu-item span {
+ white-space: nowrap;
+ }
+
.mat-mdc-menu-item:hover:not([disabled]),
.mat-mdc-menu-item.cdk-focused:not([disabled]),
.mat-mdc-menu-item.mat-mdc-menu-item-highlighted:not([disabled]) {