-
SORTUJ WG:
-
-
-
-
@@ -143,6 +136,19 @@ export default defineComponent({
@import '../../styles/search_box.scss';
@import '../../styles/variables.scss';
+.options-anim {
+ &-enter-from,
+ &-leave-to {
+ opacity: 0;
+ transform: translateY(10px);
+ }
+
+ &-enter-active,
+ &-leave-active {
+ transition: all 150ms ease;
+ }
+}
+
.bg {
position: fixed;
top: 0;
@@ -155,8 +161,6 @@ export default defineComponent({
.journal-options {
position: relative;
-
- margin-bottom: 0.5em;
}
.options_wrapper {
diff --git a/src/components/TrainsView/TrainOptions.vue b/src/components/TrainsView/TrainOptions.vue
index 94e305c..d7910c1 100644
--- a/src/components/TrainsView/TrainOptions.vue
+++ b/src/components/TrainsView/TrainOptions.vue
@@ -7,59 +7,51 @@
FILTRY
-
-
-
{{ $t('options.sort-title') }}
-
-
-
-
- {{ opt.value.toUpperCase() }}
-
+
+
+
+
{{ $t('options.sort-title') }}
+
+
+
+ {{ opt.value.toUpperCase() }}
+
+
-
-
-
{{ $t('options.filter-title') }}
-
-
-
-
- {{ $t(`options.filter-${filter.id}`) }}
-
+
{{ $t('options.filter-title') }}
+
+
+
+ {{ $t(`options.filter-${filter.id}`) }}
+
+
-
-
-
-
-
WYŁĄCZ WSZYSTKIE FILTRY
+
+
+ WYŁĄCZ WSZYSTKIE FILTRY
+
+
+ ZRESETUJ FILTRY
+
-
-
- ZRESETUJ FILTRY
-
-
-
-
{{ $t('options.search-title') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
{{ $t('options.search-title') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -145,6 +137,19 @@ export default defineComponent({
@import '../../styles/search_box.scss';
@import '../../styles/variables.scss';
+.options-anim {
+ &-enter-from,
+ &-leave-to {
+ opacity: 0;
+ transform: translateY(10px);
+ }
+
+ &-enter-active,
+ &-leave-active {
+ transition: all 150ms ease;
+ }
+}
+
.bg {
position: fixed;
top: 0;
diff --git a/src/components/TrainsView/TrainTable.vue b/src/components/TrainsView/TrainTable.vue
index b42ac36..ba1dc09 100644
--- a/src/components/TrainsView/TrainTable.vue
+++ b/src/components/TrainsView/TrainTable.vue
@@ -139,8 +139,6 @@ img.train-image {
&-list {
overflow: auto;
- margin-top: 1em;
-
@include smallScreen() {
width: 100%;
}