Doc: Online style: CSS fixes for image alignment
- Remove duplicated rules - Add a rule for class centerAlign - Remove width restriction from paragraphs in table cells These fixes enable proper horizontal center-align of images in table cells. Change-Id: I68a4863fe642a552260dfd6dbbb5d9675a8d2b4d Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
This commit is contained in:
parent
ea8a92c9c9
commit
e8c7f77854
@ -1258,15 +1258,15 @@ li a.active {
|
|||||||
color:#404244;
|
color:#404244;
|
||||||
line-height:1.16em
|
line-height:1.16em
|
||||||
}
|
}
|
||||||
.mainContent table p {
|
|
||||||
margin:0px;
|
|
||||||
padding:0px
|
|
||||||
}
|
|
||||||
.mainContent table p {
|
.mainContent table p {
|
||||||
margin:0px;
|
margin:0px;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
|
max-width:initial;
|
||||||
min-height:2em
|
min-height:2em
|
||||||
}
|
}
|
||||||
|
.mainContent table p.centerAlign {
|
||||||
|
text-align:center
|
||||||
|
}
|
||||||
.context h2 {
|
.context h2 {
|
||||||
font-size:2.1875em
|
font-size:2.1875em
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user