From b707583863b815f3ab8b04b3e7e5428a4b12223a Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Tue, 17 Nov 2020 17:31:38 +0200 Subject: [PATCH] fixed text center header pdf viewer --- apps/red-ui/src/assets/pdftron/stylesheet.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/red-ui/src/assets/pdftron/stylesheet.css b/apps/red-ui/src/assets/pdftron/stylesheet.css index 1db9d7ff4..eec7b3143 100644 --- a/apps/red-ui/src/assets/pdftron/stylesheet.css +++ b/apps/red-ui/src/assets/pdftron/stylesheet.css @@ -1,9 +1,14 @@ +.custom-ribbons-container { + flex: none; +} + div[data-element='header-text'] { + flex: 1; overflow: hidden; + margin: 0 258px 0 6px; } div[data-element='header-text'] > div { - text-align: right; font-size: 11px; color: #283241; line-height: 14px; @@ -11,4 +16,11 @@ div[data-element='header-text'] > div { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; + text-align: center; +} + +@media (max-width: 900px) { + div[data-element='header-text'] { + margin: 0 6px 0 6px; + } }