diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-12-07 15:20:40 +0100 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-12-12 14:14:22 +0000 |
commit | 725b641d87a45c293737b8fb70e32696436347e9 (patch) | |
tree | b7b5dfe757b5db9ad42fc35d886a3030b4e77675 /doc/global | |
parent | da754d5b6589c9877f0325edb3da5cbc64d966c7 (diff) |
Doc: Add margins to all anchors in a translated page
Google translate drops the space around the non-translatable
inline text. This should ensure that inline anchors have extra
margins.
Change-Id: I1c204a9a27d0a39256ef04aa3f03ba1b8433aa54
Done-with: Topi Reinio <topi.reinio@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'doc/global')
-rw-r--r-- | doc/global/template/style/online.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 23d387430e..33487355d2 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -1569,3 +1569,9 @@ a.plink { a.plink::before { content:'\00B6' } + +/* Add margin for all anchor tags in a translated page */ +html.translated-ltr .mainContent p a, +html.translated-rtl .mainContent p a { + margin:0 2px 0 2px; +} |