mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Minor improvements to display of help links
This commit is contained in:
parent
10ceed39ac
commit
df3e342d1e
|
@ -1,11 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="dialogVisible" @keydown.stop class="credentials-edit-wrapper">
|
<div v-if="dialogVisible" @keydown.stop>
|
||||||
<el-dialog :visible="dialogVisible" append-to-body width="75%" :title="title" :nodeType="nodeType" :before-close="closeDialog">
|
<el-dialog :visible="dialogVisible" append-to-body width="75%" class="credentials-edit-wrapper" :title="title" :nodeType="nodeType" :before-close="closeDialog">
|
||||||
<div name="title" class="title-container" slot="title">
|
<div name="title" class="title-container" slot="title">
|
||||||
<div id="title-left">{{title}}</div>
|
<div class="title-left">{{title}}</div>
|
||||||
<div id="title-right">
|
<div class="title-right">
|
||||||
<div v-if="credentialType" id="docs-container">
|
<div v-if="credentialType" class="docs-container">
|
||||||
<svg id="help-logo" target="_blank" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
<svg class="help-logo" target="_blank" width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<title>Node Documentation</title>
|
<title>Node Documentation</title>
|
||||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
<g transform="translate(-1127.000000, -836.000000)" fill-rule="nonzero">
|
<g transform="translate(-1127.000000, -836.000000)" fill-rule="nonzero">
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
<span v-if="credentialType" id="doc-link-text">Need help? <a id="doc-hyperlink" :href="'https://docs.n8n.io/credentials/' + documentationUrl + '/?utm_source=n8n_app&utm_medium=left_nav_menu&utm_campaign=create_new_credentials_modal'" target="_blank">Open credential docs</a></span>
|
<span v-if="credentialType" class="doc-link-text">Need help? <a class="doc-hyperlink" :href="'https://docs.n8n.io/credentials/' + documentationUrl + '/?utm_source=n8n_app&utm_medium=left_nav_menu&utm_campaign=create_new_credentials_modal'" target="_blank">Open credential docs</a></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -315,7 +315,7 @@ export default mixins(
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#docs-container {
|
.docs-container {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
@ -329,14 +329,14 @@ export default mixins(
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#docs-container {
|
.docs-container {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#title-left {
|
.title-left {
|
||||||
flex: 7;
|
flex: 7;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -344,7 +344,7 @@ export default mixins(
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title-right {
|
.title-right {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
flex: 3;
|
flex: 3;
|
||||||
font-family: "Open Sans";
|
font-family: "Open Sans";
|
||||||
|
@ -357,21 +357,21 @@ export default mixins(
|
||||||
min-width: 40%;
|
min-width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#help-logo {
|
.help-logo {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#doc-link-text {
|
.doc-link-text {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
float: right;
|
float: right;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
flex: 9;
|
flex: 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
#doc-hyperlink,
|
.doc-hyperlink,
|
||||||
#doc-hyperlink:visited,
|
.doc-hyperlink:visited,
|
||||||
#doc-hyperlink:focus,
|
.doc-hyperlink:focus,
|
||||||
#doc-hyperlink:active {
|
.doc-hyperlink:active {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #FF6150;
|
color: #FF6150;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue