diff --git a/app/assets/styles/main.scss b/app/assets/styles/main.scss index 7f0c674..cc6c61a 100644 --- a/app/assets/styles/main.scss +++ b/app/assets/styles/main.scss @@ -38,7 +38,7 @@ z-index: 999; bottom: 110%; transition: opacity 0.3s; - padding: 6px 9px; + padding: 0.4rem 0.6rem; font-size: 13px; pointer-events: none; box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1); diff --git a/app/components/Modal.vue b/app/components/Modal.vue index 8095847..a2f7327 100644 --- a/app/components/Modal.vue +++ b/app/components/Modal.vue @@ -15,7 +15,7 @@ class="modal-card" :id="docid" :style="{ - width: $store.viewport <= 2 ? 'calc(100% - 2rem)' : width || '60%', + width: $store.viewport <= 1 ? 'calc(100% - 2rem)' : width || '60%', }" >
- + @@ -139,7 +139,11 @@ onUnmounted(() => { }); diff --git a/app/components/SearchBox.vue b/app/components/SearchBox.vue index 324a88a..1f1430d 100644 --- a/app/components/SearchBox.vue +++ b/app/components/SearchBox.vue @@ -390,11 +390,14 @@ export default { .field:not(:last-child) { margin-bottom: 0; } -.button.is-light { - --bulma-button-background-l: 89%; -} -.button:hover, -.button.is-hovered { - --bulma-button-background-l-delta: -10%; +.button.is-success { + &.is-light { + --bulma-button-background-l: 89%; + } + + &:hover, + &.is-hovered { + --bulma-button-background-l-delta: -10%; + } } diff --git a/app/components/datatable/ContextMenu.vue b/app/components/datatable/ContextMenu.vue index 9069611..d2575a4 100644 --- a/app/components/datatable/ContextMenu.vue +++ b/app/components/datatable/ContextMenu.vue @@ -174,7 +174,7 @@ > @@ -223,18 +223,18 @@

Lưu thiết lập @@ -254,7 +254,7 @@ :class="selectTab.code === v.code ? 'is-active' : 'has-text-primary'" @click="changeTab(v)" > - {{ v.name }} + {{ v.name }} @@ -387,21 +387,17 @@ {{ v.name }} + -

- -

@@ -103,6 +103,7 @@ :row="v" v-if="field.template" @clickevent="clickEvent($event, v, field)" + @dynamicCompEvent="onDynamicCompEvent" /> {{ v[field.name] }} @@ -121,7 +122,7 @@ @confirm="confirmRemove" v-bind="showmodal" v-if="showmodal" - > + /> diff --git a/app/components/media/FileActions.vue b/app/components/media/FileActions.vue index d87e75c..229db6d 100644 --- a/app/components/media/FileActions.vue +++ b/app/components/media/FileActions.vue @@ -1,5 +1,4 @@