ui: Center images on browsers supporting :has selector
This commit is contained in:
parent
ad7ad37e7f
commit
2ace5e1e52
1 changed files with 3 additions and 0 deletions
|
@ -27,3 +27,6 @@ p img {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
p:has(img) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
Reference in a new issue