Skip to content

Commit 670afc0

Browse files
Merge pull request #44 from hcorson-dosch-usgs/adjust_mobile_view
Adjust mobile view
2 parents dd2d1e8 + 4a86ec6 commit 670afc0

File tree

13 files changed

+95
-125
lines changed

13 files changed

+95
-125
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ body {
9494
margin: 0;
9595
padding: 0;
9696
line-height: 1.2;
97-
font-size: 2rem;
97+
font-size: 1.95rem;
9898
font-weight: 400;
9999
-webkit-font-smoothing: antialiased;
100100
-moz-osx-font-smoothing: grayscale;
-316 KB
Binary file not shown.
-173 KB
Binary file not shown.
-217 KB
Binary file not shown.
-280 KB
Binary file not shown.
-370 KB
Binary file not shown.
-348 KB
Binary file not shown.

src/assets/text/droughtAnnotations_desktop.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
{
2828
id: '1920s-gages',
2929
date: '1927-01-01',
30-
text: 'From 1920 to 1951, the data comprises 313 streamgages (see Methods).',
30+
text: 'From 1920 to 1951, the data comprise 313 streamgages (see Methods).',
3131
desktop_x_offset_per: 63,
3232
desktop_text_anchor: 'start',
3333
desktop_text_width: 250
@@ -51,7 +51,7 @@ export default {
5151
{
5252
id: '1950s-gages',
5353
date: '1950-01-01',
54-
text: 'From 1950 to 1980, the data comprises 1,912 streamgages (see Methods).',
54+
text: 'From 1950 to 1980, the data comprise 1,912 streamgages (see Methods).',
5555
desktop_x_offset_per: 63,
5656
desktop_text_anchor: 'start',
5757
desktop_text_width: 250
@@ -75,7 +75,7 @@ export default {
7575
{
7676
id: '1970s-fact',
7777
date: '1975-06-01',
78-
text: 'California, Iowa, and Minnesota together had 67% of the droughts in this period',
78+
text: 'California, Iowa, and Minnesota together had 67% of the droughts in this period.',
7979
desktop_x_offset_per: 60,
8080
desktop_text_anchor: 'start',
8181
desktop_text_width: 250
@@ -84,31 +84,31 @@ export default {
8484
{
8585
id: '1980s-gages',
8686
date: '1980-01-01',
87-
text: 'From 1981 to 2020, the data comprises 3,198 streamgages (see Methods).',
87+
text: 'From 1981 to 2020, the data comprise 3,198 streamgages (see Methods).',
8888
desktop_x_offset_per: 63,
8989
desktop_text_anchor: 'start',
9090
desktop_text_width: 250
9191
},
9292
{
9393
id: '1980s-fact',
9494
date: '1987-07-01',
95-
text: 'This drought on the Carmel River near Seaside, CA lasted almost 4 years!',
95+
text: 'This drought on the Carmel River near Seaside, CA, lasted almost 4 years!',
9696
desktop_x_offset_per: 58,
9797
desktop_text_anchor: 'start',
9898
desktop_text_width: 250
9999
},
100100
{
101101
id: '2000s-fact1',
102102
date: '2000-06-01',
103-
text: 'Over 31% of the 2,000 most severe droughts happened during this period',
103+
text: 'Over 31% of the 2,000 most severe droughts happened during this period.',
104104
desktop_x_offset_per: 62,
105105
desktop_text_anchor: 'start',
106106
desktop_text_width: 250
107107
},
108108
{
109109
id: '2000s-fact2',
110110
date: '2005-06-01',
111-
text: 'The average duration of droughts in this period was 73 days longer than the Dust Bowl',
111+
text: 'The average duration of droughts in this period was 73 days longer than the Dust Bowl.',
112112
desktop_x_offset_per: 60,
113113
desktop_text_anchor: 'start',
114114
desktop_text_width: 250

src/assets/text/droughtAnnotations_mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default {
5656
{
5757
id: 'dustbowl_2',
5858
date: '1940-06-01',
59-
text: 'The Dust Bowl Drought ended in 1941, but the lessons learned from the dust bowl continue to shape the farming and grazing practices we use today. ',
59+
text: 'The Dust Bowl Drought ended in 1941, but the lessons learned from the dust bowl continue to shape the farming and grazing practices we use today. Because USGS did not have many streamgages on the landscape during the Dust Bowl, we do not have as a good record of how widespread streamflow drought was at this time.',
6060
mobile_x_offset_per: 24
6161
},
6262
{

src/assets/text/droughtImages.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)