Skip to content

Commit fd4d8ec

Browse files
author
Yannick
committed
🐛 Fixes for smaller phones.
1 parent c0ca4c1 commit fd4d8ec

File tree

10 files changed

+44
-19
lines changed

10 files changed

+44
-19
lines changed

firebase.json

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"headers": [
4343
{
4444
"key": "Link",
45-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style"
45+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style"
4646
}
4747
]
4848
},
@@ -51,7 +51,7 @@
5151
"headers": [
5252
{
5353
"key": "Link",
54-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-account.chunk.c5840.js>; rel=preload; as=script"
54+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-account.chunk.c5840.js>; rel=preload; as=script"
5555
}
5656
]
5757
},
@@ -60,7 +60,7 @@
6060
"headers": [
6161
{
6262
"key": "Link",
63-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-addMedia.chunk.1d412.js>; rel=preload; as=script"
63+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-addMedia.chunk.1d412.js>; rel=preload; as=script"
6464
}
6565
]
6666
},
@@ -69,34 +69,34 @@
6969
"headers": [
7070
{
7171
"key": "Link",
72-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-add.chunk.2af82.js>; rel=preload; as=script"
72+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-add.chunk.2af82.js>; rel=preload; as=script"
7373
}
7474
]
7575
},
7676
{
77-
"source": "/overview",
77+
"source": "/measurement",
7878
"headers": [
7979
{
8080
"key": "Link",
81-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-overview.chunk.27364.js>; rel=preload; as=script"
81+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-measurement.chunk.41dac.js>; rel=preload; as=script"
8282
}
8383
]
8484
},
8585
{
86-
"source": "/measurement",
86+
"source": "/Media",
8787
"headers": [
8888
{
8989
"key": "Link",
90-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-measurement.chunk.4c174.js>; rel=preload; as=script"
90+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-Media.chunk.f52e3.js>; rel=preload; as=script"
9191
}
9292
]
9393
},
9494
{
95-
"source": "/Media",
95+
"source": "/overview",
9696
"headers": [
9797
{
9898
"key": "Link",
99-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-Media.chunk.71d02.js>; rel=preload; as=script"
99+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-overview.chunk.42821.js>; rel=preload; as=script"
100100
}
101101
]
102102
},
@@ -105,7 +105,7 @@
105105
"headers": [
106106
{
107107
"key": "Link",
108-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-edit.chunk.64519.js>; rel=preload; as=script"
108+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-edit.chunk.64519.js>; rel=preload; as=script"
109109
}
110110
]
111111
},
@@ -114,7 +114,7 @@
114114
"headers": [
115115
{
116116
"key": "Link",
117-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-notifications.chunk.b2dcc.js>; rel=preload; as=script"
117+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-notifications.chunk.ddcaa.js>; rel=preload; as=script"
118118
}
119119
]
120120
},
@@ -123,7 +123,16 @@
123123
"headers": [
124124
{
125125
"key": "Link",
126-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-login.chunk.a7440.js>; rel=preload; as=script"
126+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-login.chunk.cd540.js>; rel=preload; as=script"
127+
}
128+
]
129+
},
130+
{
131+
"source": "/createAccount",
132+
"headers": [
133+
{
134+
"key": "Link",
135+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-createAccount.chunk.2172c.js>; rel=preload; as=script"
127136
}
128137
]
129138
},
@@ -132,7 +141,7 @@
132141
"headers": [
133142
{
134143
"key": "Link",
135-
"value": "</bundle.741cd.js>; rel=preload; as=script, </style.fe495.css>; rel=preload; as=style, </route-editMedia.chunk.7c924.js>; rel=preload; as=script"
144+
"value": "</bundle.41dec.js>; rel=preload; as=script, </style.e075b.css>; rel=preload; as=style, </route-editMedia.chunk.a86ea.js>; rel=preload; as=script"
136145
}
137146
]
138147
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uva-preact",
3-
"version": "1.0.1",
3+
"version": "1.0.3",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

src/components/addButton/style.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
width: 48%;
1212

1313
p {
14+
font-size: 14px;
1415
font-weight: 700;
1516
margin: 0;
1617
padding: 7.5px 0 0;
18+
text-align: center;
1719
text-transform: uppercase;
1820
}
1921

src/components/footer/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
color: var(--main-color);
1515
display: flex;
1616
flex-direction: column;
17+
font-size: 14px;
1718
justify-content: center;
1819
text-decoration: none;
1920

src/components/item/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class Item extends Component {
4242
/>
4343
<p class={style.date}>{details.date}</p>
4444
<p class={style.edit}>{getNumber(24)} days</p>
45-
<p>Received</p>
45+
<p class={style.uploadStatText}>Received</p>
4646
<i className={`material-icons ${style.uploadStat}`}>done</i>
4747
</div>
4848
</Link>

src/components/item/style.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
.icon {
1313
display: inline-block;
1414
opacity: .6;
15-
padding: 0 25px 0 10px;
15+
padding: 0 15px 0 10px;
1616
}
1717

1818
.date {
1919
display: inline-block;
20+
font-size: 14px;
2021
width: 30%;
2122
}
2223

@@ -32,9 +33,15 @@
3233

3334
.edit {
3435
flex: 1;
36+
font-size: 14px;
3537
width: 20%;
3638
}
3739

40+
.uploadStatText {
41+
font-size: 14px;
42+
}
43+
3844
.uploadStat {
45+
font-size: 14px;
3946
padding: 0 7.5px;
4047
}

src/components/notification/style.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
p {
1010
display: inline-block;
11+
font-size: 14px;
1112
font-weight: 700;
1213
margin: 0;
1314
}
1415

1516
p:nth-child(2) {
1617
font-weight: 400;
18+
white-space: nowrap;
1719
}
1820
}

src/routes/account/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default class Account extends Component {
126126
<div class={style.account}>
127127
<Header title="account" />
128128
<div class={style.contributions}>
129-
<h2>Uploads</h2>
129+
<h2 class={style.uploadsH2}>Uploads</h2>
130130
{this.state.isReady && (
131131
<ResponsiveContainer width="100%" height={250}>
132132
<AreaChart data={this.state.reducedData}>

src/routes/account/style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
padding: 10px;
2828
text-transform: uppercase;
2929
}
30+
31+
.uploadsH2 {
32+
font-size: 18px;
33+
}

src/routes/overview/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929

3030
.labels p:nth-child(1) {
31-
width: 55px;
31+
width: 45px;
3232
}
3333

3434
.labels p:nth-child(2) {

0 commit comments

Comments
 (0)