From 5faffae81b21a85081a56e8aa53f77e5c02d3268 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Thu, 26 Nov 2020 15:07:01 +0200 Subject: [PATCH] Title plugin cleanup (#8104) * Title plugin cleanup * more cleanup * cc * center formula * Fix / update sample * Restore functionality on RTL page --- samples/title/alignment.html | 64 +++++++++++-- src/plugins/plugin.title.js | 178 ++++++++++++----------------------- 2 files changed, 117 insertions(+), 125 deletions(-) diff --git a/samples/title/alignment.html b/samples/title/alignment.html index 0fc9195e4..d2cff4560 100644 --- a/samples/title/alignment.html +++ b/samples/title/alignment.html @@ -15,6 +15,10 @@ width: 500px; margin-left: 40px; margin-right: 40px; + box-sizing: content-box; + border: 1px solid rgb(240, 240, 240); + border-radius: 4px; + margin: 4px; } .container { display: flex; @@ -45,6 +49,24 @@
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +