Skip to content

Wrong top border on <ion-footer-bar> with retina devices #1661

@ohh2ahh

Description

@ohh2ahh

The top border of the footer gets rendered wrong on retina devices. As far as I know, you change the background-position to the top but you don't adjust the background-image: linear-gradient(...);. Because the transparent 1 px border is on top of the real border you get a "double border". I know, this is a very minor issue 😉

/* 1 px transparent border above real border */
background-image: linear-gradient(0deg, $bar-default-border, $bar-default-border 50%, transparent 50%);

/* Fix */
background-image: linear-gradient(180deg, $bar-default-border, $bar-default-border 50%, transparent 50%);

I tested it with v1.0.0-beta.8 on iOS.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions