From 948731ccff24677dcdc8d6d2e64477d33d3244ba Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 1 Jun 2021 15:41:59 +0300 Subject: [PATCH] [DE embed] Add tooltip for disabled submit button --- apps/common/embed/resources/less/common.less | 14 ++++++++++++- apps/documenteditor/embed/index.html | 2 +- apps/documenteditor/embed/index.html.deploy | 2 +- apps/documenteditor/embed/index_loader.html | 2 +- .../embed/index_loader.html.deploy | 2 +- .../embed/js/ApplicationController.js | 20 ++++++++++++++++++- 6 files changed, 36 insertions(+), 6 deletions(-) diff --git a/apps/common/embed/resources/less/common.less b/apps/common/embed/resources/less/common.less index 3c2dd271c0..54012b65b5 100644 --- a/apps/common/embed/resources/less/common.less +++ b/apps/common/embed/resources/less/common.less @@ -683,9 +683,13 @@ border: 1px solid rgba(0,0,0,0.15); color: #333; font-weight: bold; - line-height: 26px; font-size: 11px; box-shadow: 0 6px 12px rgba(0,0,0,0.175); + + padding: 5px 12px; + white-space: pre-wrap; + text-align: left; + word-wrap: break-word; } .tooltip-arrow { @@ -764,4 +768,12 @@ padding: 3px 12px; margin-top: 10px; } +} + +.tooltip { + .tooltip-inner { + .toolbar & { + font-weight: normal; + } + } } \ No newline at end of file diff --git a/apps/documenteditor/embed/index.html b/apps/documenteditor/embed/index.html index fe9d9a3a9e..bd9ab347c2 100644 --- a/apps/documenteditor/embed/index.html +++ b/apps/documenteditor/embed/index.html @@ -198,7 +198,7 @@
- +
of 0
- +
of 0
- +
of 0
- +
of 0