diff --git a/zero.Web.UI/Sass/Canvas/_navigation.scss b/zero.Web.UI/Sass/Canvas/_navigation.scss index 12292834..3ed49950 100644 --- a/zero.Web.UI/Sass/Canvas/_navigation.scss +++ b/zero.Web.UI/Sass/Canvas/_navigation.scss @@ -147,7 +147,7 @@ a.app-nav-child align-items: center; font-size: var(--font-size); padding: 0 var(--padding) 0 calc(var(--padding) + 36px); - height: 40px; + height: 34px; color: var(--color-text-dim); &:hover, &.is-active diff --git a/zero.Web.UI/Sass/Core/_forms.scss b/zero.Web.UI/Sass/Core/_forms.scss index c03caef6..5038e9a3 100644 --- a/zero.Web.UI/Sass/Core/_forms.scss +++ b/zero.Web.UI/Sass/Core/_forms.scss @@ -113,11 +113,11 @@ textarea display: none; } - select + /*select { text-indent: -2px; padding-left: 0; - } + }*/ } } diff --git a/zero.Web.UI/app/core/editor-field.ts b/zero.Web.UI/app/core/editor-field.ts index 6d6cd32d..2e526e08 100644 --- a/zero.Web.UI/app/core/editor-field.ts +++ b/zero.Web.UI/app/core/editor-field.ts @@ -83,6 +83,16 @@ class EditorField } + /** + * Set this field to disabled + */ + disabled() + { + this.options.disabled = true; + return this; + } + + /** * Set this field as required * @param {function|boolean} [condition] - Optionally only require this field when a condition is fulfilled or reset the required state with true/false