From d8b17daf9d12804c65aafbde28eb8c0beada44d3 Mon Sep 17 00:00:00 2001 From: syuilo <Syuilotan@yahoo.co.jp> Date: Tue, 4 May 2021 23:43:26 +0900 Subject: [PATCH] fix style --- src/client/ui/default.widgets.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/ui/default.widgets.vue b/src/client/ui/default.widgets.vue index 0dd073409b..c475e4272c 100644 --- a/src/client/ui/default.widgets.vue +++ b/src/client/ui/default.widgets.vue @@ -1,7 +1,7 @@ <template> -<div class="efzpzdvf"> +<div class="ddiqwdnk"> <XWidgets class="widgets" :edit="editMode" :widgets="$store.reactiveState.widgets.value" @add-widget="addWidget" @remove-widget="removeWidget" @update-widget="updateWidget" @update-widgets="updateWidgets" @exit="editMode = false"/> - <MkAd prefer="square"/> + <MkAd class="ad" prefer="square"/> <button v-if="editMode" @click="editMode = false" class="_textButton edit" style="font-size: 0.9em;"><i class="fas fa-check"></i> {{ $ts.editWidgetsExit }}</button> <button v-else @click="editMode = true" class="_textButton edit" style="font-size: 0.9em;"><i class="fas fa-pencil-alt"></i> {{ $ts.editWidgets }}</button> @@ -57,13 +57,14 @@ export default defineComponent({ </script> <style lang="scss" scoped> -.efzpzdvf { +.ddiqwdnk { position: sticky; height: min-content; box-sizing: border-box; padding-bottom: 8px; - > .widgets { + > .widgets, + > .ad { width: 300px; } -- GitLab