diff --git a/src/components/Global/SelectBox.vue b/src/components/Global/SelectBox.vue
index 2c0cf5a..64b63a9 100644
--- a/src/components/Global/SelectBox.vue
+++ b/src/components/Global/SelectBox.vue
@@ -131,6 +131,7 @@ export default defineComponent({
.select-box {
position: relative;
+ width: auto;
}
.arrow {
diff --git a/src/components/JournalView/JournalOptions.vue b/src/components/JournalView/JournalOptions.vue
index 4773775..56b4f1a 100644
--- a/src/components/JournalView/JournalOptions.vue
+++ b/src/components/JournalView/JournalOptions.vue
@@ -1,260 +1,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
![exit-icon]()
-
-
-
-
- {{ $t('journal.search') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('journal.search') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/TrainsView/TrainOptions.vue b/src/components/TrainsView/TrainOptions.vue
index f873216..32eb3bf 100644
--- a/src/components/TrainsView/TrainOptions.vue
+++ b/src/components/TrainsView/TrainOptions.vue
@@ -15,13 +15,17 @@
@@ -130,8 +134,8 @@ export default defineComponent({
resetFilters() {
this.filterList.forEach((f) => (f.isActive = true));
- this.searchedDriver = "";
- this.searchedTrain = "";
+ this.searchedDriver = '';
+ this.searchedTrain = '';
},
},
});
@@ -139,10 +143,12 @@ export default defineComponent({
diff --git a/src/styles/JournalSection.scss b/src/styles/JournalSection.scss
index e34bd09..6be3530 100644
--- a/src/styles/JournalSection.scss
+++ b/src/styles/JournalSection.scss
@@ -60,7 +60,7 @@
}
@include smallScreen() {
- .journal-wrapper {
+ .journal_wrapper {
font-size: 1.25em;
}
diff --git a/src/styles/search_box.scss b/src/styles/search_box.scss
new file mode 100644
index 0000000..e74da0d
--- /dev/null
+++ b/src/styles/search_box.scss
@@ -0,0 +1,51 @@
+@import 'responsive.scss';
+
+.search {
+ &-box {
+ position: relative;
+
+ display: flex;
+
+ border-radius: 0.5em;
+ min-width: 200px;
+ margin-right: 0.25em;
+ background-color: #333;
+ }
+
+ &-input {
+ border: none;
+ border-radius: 0.5em 0 0 0.5em;
+ background-color: #333;
+
+ padding: 0.35em 0.5em;
+ margin-right: 0.2em;
+ width: 100%;
+ }
+
+ &-exit {
+ background-color: #333;
+ padding: 0 0.5em;
+ border-radius: 0 0.5em 0.5em 0;
+
+ img {
+ vertical-align: middle;
+ height: 1.3em;
+ }
+ }
+
+ @include smallScreen {
+ &-box,
+ &-button {
+ margin: 0.5em 0 0 0;
+ }
+
+ &-box {
+ width: 100%;
+ }
+
+ &-button {
+ width: 80%;
+ max-width: 300px;
+ }
+ }
+}
diff --git a/src/views/TrainsView.vue b/src/views/TrainsView.vue
index 64ff6e7..5e52fa9 100644
--- a/src/views/TrainsView.vue
+++ b/src/views/TrainsView.vue
@@ -103,9 +103,4 @@ export default defineComponent({
max-width: 1350px;
}
-@include smallScreen {
- .options-bar {
- font-size: 1.25em;
- }
-}