aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdCommandSearch.vue
diff options
context:
space:
mode:
authorZero~Informatique2021-07-04 02:22:39 +0200
committerpacien2021-07-04 16:32:04 +0200
commitdfa1c6e2f2977c32f75c1d93d9e7eb44fbed28c0 (patch)
tree6058cc246b6546ed57b3ac7821a6ae775caf1fd5 /viewer/src/components/LdCommandSearch.vue
parentcddf5d5c42795388dbd9058268160f1e867d64f5 (diff)
downloadldgallery-dfa1c6e2f2977c32f75c1d93d9e7eb44fbed28c0.tar.gz
viewer: use CSS modules
GitHub: closes #196
Diffstat (limited to 'viewer/src/components/LdCommandSearch.vue')
-rw-r--r--viewer/src/components/LdCommandSearch.vue6
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>