Skip to content

Commit a389940

Browse files
authored
front mobile fixes (#7)
* doc: remove useless credit sentence * fix(front): remove useless flex box * fix(front): fix mobile spacing
1 parent a026b76 commit a389940

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ Your web browser should open on `http://localhost:3000`. The app is configured t
150150

151151
## Credits
152152

153-
ShortPaste is based on [Adyanth Hosavalike's ShortPaste](https://github.com/adyanth/shortpaste) but have been nearly completely rewrittent.
153+
ShortPaste is based on [Adyanth Hosavalike's Short{Paste}](https://github.com/adyanth/shortpaste).

front/src/components/content/styles.module.scss

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22

33
.root {
44
flex: 1;
5-
6-
display: flex;
7-
flex-direction: column;
85

9-
height: calc(100vh - 64px - env(safe-area-inset-bottom));
10-
margin-left: 0;
6+
min-height: calc(100vh - 68px - env(safe-area-inset-bottom));
7+
118
z-index: 2;
129
padding: $spacing;
1310
overflow-y: auto;
11+
padding-bottom: calc(68px + $spacing + env(safe-area-inset-bottom));
1412

1513
@media (min-width: 899px) {
1614
margin-left: $drawer-menu-width;
17-
height: calc(100vh - env(safe-area-inset-bottom));
15+
margin-bottom: 0;
1816
}
1917
}

front/src/components/main_menu/styles.module.scss

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.root_bottom {
55
background-color: $white !important;
6+
padding-bottom: env(safe-area-inset-bottom) !important;
67

78
:global(.MuiToolbar-root) {
89
a {

0 commit comments

Comments
 (0)