aboutsummaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 13:23:06 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 13:23:06 +0200
commit2f6f876b8048bfe14a4aab27cbef02195fc1bb0a (patch)
tree1332287f8c1c5b5bbb2da4d80ece06b9f6343e32 /dist
parent809cbed66336d44ab88113137d5fbf130e75cc8b (diff)
downloadFlightCore-2f6f876b8048bfe14a4aab27cbef02195fc1bb0a.tar.gz
FlightCore-2f6f876b8048bfe14a4aab27cbef02195fc1bb0a.zip
Use locked HTML input field for showing gamepath
instead of its own custom HTML element
Diffstat (limited to 'dist')
-rw-r--r--dist/css/main.css8
-rw-r--r--dist/index.html2
2 files changed, 9 insertions, 1 deletions
diff --git a/dist/css/main.css b/dist/css/main.css
index 5dd9c4c7..97ac9a43 100644
--- a/dist/css/main.css
+++ b/dist/css/main.css
@@ -99,3 +99,11 @@ button {
.locked {
cursor: not-allowed;
}
+
+/**
+ * Stupid way to make text input field containing game_path big enough to show whole path.
+ * Optimally, this should be done dynamically
+ */
+input {
+ width: 400px;
+}
diff --git a/dist/index.html b/dist/index.html
index bdc7fd5c..533387fc 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -15,7 +15,7 @@
The functionality it serves and what it displays is based on the current state of the application
-->
<button id="omni-button", class="locked">Loading...</button>
- <install-location-holder>Couldn't find Titanfall2 install</install-location-holder>
+ <input value="Couldn't find Titanfall2 install" id="install-location-holder" disabled></input>
<!-- <div class="hello">Click for Hello</div> -->
<!-- <counter-button>ADD</counter-button> -->
<!-- <counter-result>.</counter-result> -->