You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by oe...@apache.org on 2026/07/10 14:13:51 UTC
(streampipes) branch Avoid-action-menu-item-line-break created (now dad7d66594)
This is an automated email from the ASF dual-hosted git repository.
SvenO3 pushed a change to branch Avoid-action-menu-item-line-break
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at dad7d66594 Avoid action menu item line break
This branch includes the following new commits:
new dad7d66594 Avoid action menu item line break
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(streampipes) 01/01: Avoid action menu item line break
Posted by oe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
SvenO3 pushed a commit to branch Avoid-action-menu-item-line-break
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit dad7d665949bd78d572bd5457f265575f738e225
Author: Sven Oehler <oe...@web.de>
AuthorDate: Fri Jul 10 16:13:29 2026 +0200
Avoid action menu item line break
---
.../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]) {