1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-10 12:35:46 +03:00

💄 Make sure that parameter help icon gets always displayed

This commit is contained in:
Jan Oberhauser 2019-09-19 23:59:25 +02:00
parent 419af0a5fd
commit c1a609d358
2 changed files with 56 additions and 51 deletions

View File

@ -73,10 +73,18 @@ export default Vue
}
.parameter-info {
background-color: #ffffffaa;
border-radius: 6px;
display: none;
padding: 4px;
position: absolute;
right: 0px;
top: 8px;
}
.parameter-name {
position: relative;
&:hover {
.parameter-info {
display: inline;

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="paramter-input-list-wrapper">
<div v-for="parameter in filteredParameters" :key="parameter.name">
<div
v-if="multipleValues(parameter) === true && parameter.type !== 'fixedCollection'"
@ -169,7 +169,7 @@ export default mixins(
</script>
<style lang="scss">
.paramter-input-list-wrapper {
.delete-option {
display: none;
position: absolute;
@ -190,9 +190,21 @@ export default mixins(
font-weight: 600;
border-bottom: 1px solid #999;
&:hover {
.parameter-info {
display: inline;
}
}
.delete-option {
top: 0;
left: -0.9em;
}
.parameter-info {
display: none;
}
}
}
@ -208,21 +220,6 @@ export default mixins(
.parameter-name:hover > .delete-option {
display: block;
}
.parameter-name {
&:hover {
.parameter-info {
display: inline;
}
}
.delete-option {
left: -0.9em;
}
.parameter-info {
display: none;
}
}
</style>