mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix pencil bug
This commit is contained in:
parent
374579da2a
commit
5e5ab5ada6
|
@ -18,8 +18,10 @@
|
|||
</div>
|
||||
<div slot="reference" :class="{[$style.title]: true, [$style.hoverable]: !readOnly}">
|
||||
{{ value }}
|
||||
<div :class="$style.editIconContainer">
|
||||
<font-awesome-icon :class="$style.editIcon" icon="pencil-alt" v-if="!readOnly" />
|
||||
</div>
|
||||
</div>
|
||||
</el-popover>
|
||||
</span>
|
||||
</template>
|
||||
|
@ -75,19 +77,15 @@ export default Vue.extend({
|
|||
line-height: var(--font-line-height-compact);
|
||||
overflow-wrap: anywhere;
|
||||
padding-right: var(--spacing-s);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.title {
|
||||
max-height: 100px;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
-webkit-line-clamp: 5;
|
||||
-webkit-box-orient: vertical;
|
||||
color: var(--color-text-dark);
|
||||
|
||||
> *:first-child {
|
||||
padding-right: var(--spacing-3xs);
|
||||
}
|
||||
}
|
||||
|
||||
.hoverable {
|
||||
|
@ -106,8 +104,16 @@ export default Vue.extend({
|
|||
|
||||
.editIcon {
|
||||
display: none;
|
||||
font-size: var(--font-size-l);
|
||||
font-size: var(--font-size-xs);
|
||||
color: var(--color-text-base);
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.editIconContainer {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.editButtons {
|
||||
|
|
Loading…
Reference in a new issue