From 225c194f4142ab9ea3350709176fbbc42610a76d Mon Sep 17 00:00:00 2001 From: Alexey Koshelev Date: Mon, 29 Sep 2025 14:19:00 +0300 Subject: [PATCH] [common] Fix style for shortcuts dialog --- .../main/resources/less/shortcuts-dialog.less | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/apps/common/main/resources/less/shortcuts-dialog.less b/apps/common/main/resources/less/shortcuts-dialog.less index 15cbb0d050..635211c7f8 100644 --- a/apps/common/main/resources/less/shortcuts-dialog.less +++ b/apps/common/main/resources/less/shortcuts-dialog.less @@ -25,10 +25,22 @@ .action-name { min-width: 250px; + max-width: 250px; line-height: 21px; .margin-right(4px); margin-top: 3px; margin-bottom: 3px; + + white-space: normal; + overflow-wrap: break-word; + word-wrap: break-word; + + display: block; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; + text-overflow: ellipsis; } .action-keys { @@ -97,7 +109,18 @@ #action-description { margin-top: 12px; - height: 66px + height: 66px; + + white-space: normal; + overflow-wrap: break-word; + word-wrap: break-word; + + display: block; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 4; + overflow: hidden; + text-overflow: ellipsis; } }