0
Fork 0
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:
Paul Adam Davis 2014-09-03 13:32:58 +01:00
parent adb94efe1d
commit 80a048c2d4
3 changed files with 3 additions and 1 deletions

View file

@ -145,6 +145,7 @@
.settings-general img {
max-width: 100%;
max-height: 400px;
display: block;
}
.content {

View file

@ -45,7 +45,7 @@
text-transform: uppercase;
color: $brown;
//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 {

View file

@ -218,6 +218,7 @@ button {
border: none;
outline: none;
box-shadow: none;
padding: 0;
}