feat(editor): Adjust Google sign-in button to adhere to the guidelines (#5248)

* feat(editor): Add Google auth button focus, active, disabled states

* Add reconnect label to google reconnect button slot

* Increase size of Google Auth button and fix centering of n8n-banner icon

* Increase size of Google Auth button to 46px
This commit is contained in:
OlegIvaniv
2023-01-25 15:25:11 +01:00
committed by GitHub
parent 6d36782463
commit 73cbddcb2d
8 changed files with 78 additions and 31 deletions

View File

@@ -16,8 +16,9 @@
</div>
</div>
<slot name="button" v-if="$slots.button" />
<n8n-button
v-if="buttonLabel"
v-else-if="buttonLabel"
:label="buttonLoading && buttonLoadingLabel ? buttonLoadingLabel : buttonLabel"
:title="buttonTitle"
:type="theme"
@@ -85,7 +86,9 @@ export default Vue.extend({
.icon {
position: absolute;
left: 14px;
top: 18px;
top: 0;
bottom: 0;
margin: auto 0;
}
.dangerIcon {