mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-27 15:07:43 +00:00
Don't use border: shorthand in combination with other CSS properties.
Something (Gmail's HTML sanitizer?) reordered the properties in the style declaration, and having border: come after border-width: etc. clobbers the earlier rules.
This commit is contained in:
parent
d831754422
commit
112ddb2b02
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@
|
||||||
"cover": {
|
"cover": {
|
||||||
"width": "0",
|
"width": "0",
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"border": "solid",
|
"border-style": "solid",
|
||||||
"border-width": "0 0 20px 10px",
|
"border-width": "0 0 20px 10px",
|
||||||
"border-color": "transparent transparent #dddac8 #fff"
|
"border-color": "transparent transparent #dddac8 #fff"
|
||||||
},
|
},
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
"margin": "1px 0 0 1px",
|
"margin": "1px 0 0 1px",
|
||||||
"width": "0",
|
"width": "0",
|
||||||
"height": "0",
|
"height": "0",
|
||||||
"border": "solid",
|
"border-style": "solid",
|
||||||
"border-width": "0 0 20px 10px",
|
"border-width": "0 0 20px 10px",
|
||||||
"border-color": "transparent transparent #fefcef transparent"
|
"border-color": "transparent transparent #fefcef transparent"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue