mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 14:01:13 +00:00
Don't just use webkit retina detection:
This commit is contained in:
parent
077f87f1d3
commit
50748069f8
1 changed files with 10 additions and 5 deletions
|
@ -378,11 +378,16 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 135px;
|
width: 135px;
|
||||||
}
|
}
|
||||||
|
@media
|
||||||
@media(-webkit-min-device-pixel-ratio: 2) {
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
||||||
.navbar-brand {
|
only screen and ( min--moz-device-pixel-ratio: 2),
|
||||||
background-image: url('/img/logo@2x.png');
|
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
||||||
}
|
only screen and ( min-device-pixel-ratio: 2),
|
||||||
|
only screen and ( min-resolution: 192dpi),
|
||||||
|
only screen and ( min-resolution: 2dppx) {
|
||||||
|
.navbar-brand {
|
||||||
|
background-image: url('/img/logo@2x.png');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-text {
|
.navbar-text {
|
||||||
|
|
Loading…
Reference in a new issue