diff options
Diffstat (limited to 'viewer/src/components/LdCommandSearch.vue')
-rw-r--r-- | viewer/src/components/LdCommandSearch.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/viewer/src/components/LdCommandSearch.vue b/viewer/src/components/LdCommandSearch.vue index 33ab804..61b66f4 100644 --- a/viewer/src/components/LdCommandSearch.vue +++ b/viewer/src/components/LdCommandSearch.vue | |||
@@ -18,7 +18,7 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="flex webkit-flex-shrink-fix"> | 21 | <div class="flex" :class="$style.webkitFlexShrinkFix"> |
22 | <b-button @click="clear"> | 22 | <b-button @click="clear"> |
23 | <fa-icon icon="eraser" /> | 23 | <fa-icon icon="eraser" /> |
24 | <span>{{ $t("command.search.clear") }}</span> | 24 | <span>{{ $t("command.search.clear") }}</span> |
@@ -47,10 +47,10 @@ export default class LdCommandSearch extends Vue { | |||
47 | } | 47 | } |
48 | </script> | 48 | </script> |
49 | 49 | ||
50 | <style lang="scss"> | 50 | <style lang="scss" module> |
51 | // fix flexbox shrinking and overlap in old webkit versions | 51 | // fix flexbox shrinking and overlap in old webkit versions |
52 | // https://github.com/pacien/ldgallery/issues/183 | 52 | // https://github.com/pacien/ldgallery/issues/183 |
53 | .webkit-flex-shrink-fix { | 53 | .webkitFlexShrinkFix { |
54 | flex: none; | 54 | flex: none; |
55 | } | 55 | } |
56 | </style> | 56 | </style> |