mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Fix improper image border scaling
Previously, the rounded image border would not scale properly with different aspect ratios as the img object changed its own aspect ratio
This commit is contained in:
parent
9af128a8a6
commit
60938f3e19
@ -18,6 +18,13 @@
|
|||||||
display: inline-table;
|
display: inline-table;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 50%;
|
||||||
|
pointer-events: none;
|
||||||
|
-webkit-border-radius: 50%;
|
||||||
|
-moz-border-radius: 50%;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
Loading…
Reference in New Issue
Block a user