fix mobile style
This commit is contained in:
parent
c572f2b85d
commit
c0e7389570
@ -34,13 +34,13 @@ body {
|
||||
|
||||
@media (max-device-width: 1024px) {
|
||||
.btn-group button {
|
||||
font-size: 3em;
|
||||
height: 135px;
|
||||
width: 150px;
|
||||
font-size: 2.4em;
|
||||
height: 88px;
|
||||
width: 88px;
|
||||
}
|
||||
|
||||
.minGroup {
|
||||
width: 80px;
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,15 +9,9 @@ import "./icons";
|
||||
import main from "./main";
|
||||
|
||||
$(document).ready(function () {
|
||||
// Set correct width height on mobile browsers
|
||||
const isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
|
||||
if (isChrome) {
|
||||
$("head").append(
|
||||
'<meta name="viewport" content="width=device-width, initial-scale=0.52, maximum-scale=1" />'
|
||||
);
|
||||
} else {
|
||||
$("head").append('<meta name="viewport" content="width=1400" />');
|
||||
}
|
||||
$("head").append(
|
||||
'<meta name="viewport" content="width=device-width, initial-scale=0.52, maximum-scale=1" />'
|
||||
);
|
||||
|
||||
main();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user