Skip to content

Commit 72a0b0d

Browse files
authored
Merge pull request #6 from shivanshkc/dev
fix(ui): overflow fix in mobile browsers
2 parents a4ee3d8 + 903df14 commit 72a0b0d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## [1.1.3](https://github.com/shivanshkc/graviton-web-client/compare/v1.1.2...v1.1.3) (2022-03-27)
22

3-
43
### Bug Fixes
54

6-
* **core:** timer inital start call fix ([d5c8ffa](https://github.com/shivanshkc/graviton-web-client/commit/d5c8ffa97ee6954a709361ee036c162f889d3dd7))
7-
* **ui:** play button media query fix ([001095a](https://github.com/shivanshkc/graviton-web-client/commit/001095a4b1c22c1ce001acbceb4bcf1381d07b17))
5+
- **core:** timer inital start call fix ([d5c8ffa](https://github.com/shivanshkc/graviton-web-client/commit/d5c8ffa97ee6954a709361ee036c162f889d3dd7))
6+
- **ui:** play button media query fix ([001095a](https://github.com/shivanshkc/graviton-web-client/commit/001095a4b1c22c1ce001acbceb4bcf1381d07b17))
87

98
## [1.1.2](https://github.com/shivanshkc/graviton-web-client/compare/v1.1.1...v1.1.2) (2022-03-27)
109

src/pages/home/home.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.instruction {
22
// Vertical mid.
3-
position: absolute;
3+
position: fixed;
44
top: 50%;
55

66
// Horizontal mid.

src/styles.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
html,
44
body {
55
height: 100%;
6+
width: 100%;
67
}
78

89
body {
910
margin: 0;
1011
overflow: hidden;
12+
// Setting the position to fixed fixes overflowing in mobile browsers.
13+
position: fixed;
1114
}
1215

1316
// Sugar for width: 100%

0 commit comments

Comments
 (0)