mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix: fix value survey styles
This commit is contained in:
parent
a81fdca7bf
commit
67ec49228f
|
@ -40,7 +40,8 @@ export default defineComponent({
|
||||||
type: Object as PropType<EventBus>,
|
type: Object as PropType<EventBus>,
|
||||||
},
|
},
|
||||||
direction: {
|
direction: {
|
||||||
type: String,
|
type: String as PropType<'ltr' | 'rtl' | 'ttb' | 'btt'>,
|
||||||
|
required: true,
|
||||||
},
|
},
|
||||||
modal: {
|
modal: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
direction="btt"
|
direction="btt"
|
||||||
width="120px"
|
width="120px"
|
||||||
class="value-survey"
|
:class="$style.valueSurvey"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
<div :class="$style.title">
|
<div :class="$style.title">
|
||||||
|
@ -254,10 +254,9 @@ export default defineComponent({
|
||||||
.disclaimer {
|
.disclaimer {
|
||||||
margin-top: var(--spacing-4xs);
|
margin-top: var(--spacing-4xs);
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
|
|
||||||
<style lang="scss">
|
.valueSurvey {
|
||||||
.value-survey {
|
background: var(--color-background-dark);
|
||||||
height: 120px;
|
height: 120px;
|
||||||
top: auto;
|
top: auto;
|
||||||
|
|
||||||
|
@ -265,32 +264,25 @@ export default defineComponent({
|
||||||
height: 140px;
|
height: 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-drawer {
|
@media (max-width: $breakpoint-xs) {
|
||||||
background: var(--color-background-dark);
|
height: 140px !important;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: $breakpoint-xs) {
|
header {
|
||||||
height: 140px !important;
|
height: 50px;
|
||||||
}
|
margin: 0;
|
||||||
|
padding: 18px 0 16px;
|
||||||
|
|
||||||
&__header {
|
button { // close
|
||||||
height: 50px;
|
top: 12px;
|
||||||
margin: 0;
|
right: 16px;
|
||||||
padding: 18px 0 16px;
|
position: absolute;
|
||||||
|
font-weight: var(--font-weight-bold);
|
||||||
|
color: var(--color-text-xlight);
|
||||||
|
|
||||||
.el-drawer__close-btn {
|
@media (max-width: $breakpoint-xs) {
|
||||||
top: 12px;
|
top: 2px;
|
||||||
right: 16px;
|
right: 2px;
|
||||||
position: absolute;
|
|
||||||
|
|
||||||
@media (max-width: $breakpoint-xs) {
|
|
||||||
top: 2px;
|
|
||||||
right: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-dialog__close {
|
|
||||||
font-weight: var(--font-weight-bold);
|
|
||||||
color: var(--color-text-xlight);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue