mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-25 18:47:57 +01:00
made top-logo less wide when smaller (not visually, just cropped the tranparent whitespace). This will mainly prevent unwanted user interaction on the mobile display (eg. user tapping on logo's whitespace when intending to tap on the sidebar button)
This commit is contained in:
parent
12337f6ceb
commit
81173c1379
@ -39,16 +39,20 @@
|
|||||||
|
|
||||||
@media screen and (max-height: 525px) {
|
@media screen and (max-height: 525px) {
|
||||||
.d3dlogo {
|
.d3dlogo {
|
||||||
max-width: 399px;
|
|
||||||
top: 20%;
|
top: 20%;
|
||||||
height: 57px;
|
height: 57px;
|
||||||
background-image: url('../img/logo/logo_smaller_wide.png');
|
max-width: 307px;
|
||||||
|
background-image: url('../img/logo/logo_smaller.png');
|
||||||
|
// max-width: 399px;
|
||||||
|
// background-image: url('../img/logo/logo_smaller_wide.png');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-height: 375px) {
|
@media screen and (max-height: 375px) {
|
||||||
.d3dlogo {
|
.d3dlogo {
|
||||||
max-width: 399px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-image: url('../img/logo/logo_smallest_wide.png');
|
max-width: 216px;
|
||||||
|
background-image: url('../img/logo/logo_smallest.png');
|
||||||
|
// max-width: 399px;
|
||||||
|
// background-image: url('../img/logo/logo_smallest_wide.png');
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -12,9 +12,11 @@
|
|||||||
}
|
}
|
||||||
.d3dlogo {
|
.d3dlogo {
|
||||||
top: 0;
|
top: 0;
|
||||||
max-width: 399px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-image: url('../img/logo/logo_smallest_wide.png');
|
max-width: 216px;
|
||||||
|
background-image: url('../img/logo/logo_smallest.png');
|
||||||
|
// max-width: 399px;
|
||||||
|
// background-image: url('../img/logo/logo_smallest_wide.png');
|
||||||
}
|
}
|
||||||
.doodlecontainer {
|
.doodlecontainer {
|
||||||
/* position: absolute;*/
|
/* position: absolute;*/
|
||||||
|
Loading…
Reference in New Issue
Block a user