mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fix floaring header gradient in FF and settings images
No issue - Corrects the syntax used for the floating header gradient so it now gets prefixed correctly for Firefox - Removes padding from `<button>` elements (fixes padding around images in buttons) - Adds display: block; to settings images to prevent a Webkit bug which adds space under the image
This commit is contained in:
parent
adb94efe1d
commit
80a048c2d4
3 changed files with 3 additions and 1 deletions
|
@ -145,6 +145,7 @@
|
||||||
.settings-general img {
|
.settings-general img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: $brown;
|
color: $brown;
|
||||||
//Transparent gradient to make bg fade out as it goes out the top.
|
//Transparent gradient to make bg fade out as it goes out the top.
|
||||||
background: linear-gradient(top, white 0%, white 25%, rgba(255,255,255,0.9) 100%);
|
background: linear-gradient(to bottom, white 0%, white 25%, rgba(255,255,255,0.9) 100%);
|
||||||
|
|
||||||
// button,
|
// button,
|
||||||
.button {
|
.button {
|
||||||
|
|
|
@ -218,6 +218,7 @@ button {
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue