diff --git a/index.html b/index.html
index 4da351c..590a068 100644
--- a/index.html
+++ b/index.html
@@ -36,7 +36,7 @@
- | Distance | Latitude | Longitude | Show in map |
+ Distance | Latitude | Longitude | Show in map |
diff --git a/src/main.ts b/src/main.ts
index fd0733c..3fd9499 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -118,6 +118,9 @@ routeWorker.onmessage = e => {
latitudeCell.setHTMLUnsafe(result.latitude.toFixed(6));
longitudeCell.setHTMLUnsafe(result.longitude.toFixed(6));
+ latitudeCell.classList.add('hidable');
+ longitudeCell.classList.add('hidable');
+
let button = document.createElement('button');
buttonCell.appendChild(button);
diff --git a/src/style.css b/src/style.css
index 04e7223..0dc070a 100644
--- a/src/style.css
+++ b/src/style.css
@@ -35,7 +35,7 @@ p {
}
#settings-div {
- width: 40vw;
+ width: max(40vw, 800px);
margin-left: auto;
margin-right: auto;
border-style: solid;
@@ -71,4 +71,23 @@ th {
td {
border: solid 1px;
+}
+
+@media only screen and (max-width: 800px) {
+ .hidable {
+ display: none;
+ }
+
+ table {
+ width: max(30vw, 400px);
+ }
+
+ #settings-div {
+ width: 80vw;
+ }
+
+ .settings-line {
+ display: flex;
+ flex-direction: column;
+ }
}
\ No newline at end of file