Doc: Pad text and pre code blocks in tabs
Use the pre element selector, not the .pre class selector to add correct padding to pre code blocks and non-code blocks. Pick-to: 6.5 6.2 Change-Id: I14886f44597354c81840a866c75caa62387a7375 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit e01ba1824ee27ebafe8cde79e0e0e0d36dcf3467) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9d7571e1a0b68dcb57dc4ef9f4dafe7329056d15)
This commit is contained in:
parent
3f47fce750
commit
76ca45728d
@ -47,11 +47,11 @@ div.tabcontent {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
div.tabcontent >:first-child:not(.pre) {
|
||||
padding-top: 2px;
|
||||
div.tabcontent >:first-child:not(pre) {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
div.tabcontent >:not(.pre) {
|
||||
div.tabcontent >:not(pre) {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user