Merge pull request #4632 from umbraco/temp8-4438

Fixes 4438: Local variant picker squeezes the width of node-name-input, to make it scroll instead of disappear behind.
This commit is contained in:
Bjarke Berg
2019-02-19 08:36:33 +01:00
committed by GitHub
2 changed files with 8 additions and 3 deletions

View File

@@ -82,6 +82,10 @@
.umb-editor-header__name-wrapper {
position: relative;
display: flex;
border: 1px solid @inputBorder;
&:focus-within {
border-color: @inputBorderFocus;
}
}
.umb-editor-header__name-and-description {
@@ -109,7 +113,9 @@ input.umb-editor-header__name-input {
width: 100%;
padding: 0 10px;
background: @white;
border: 1px solid @gray-8;
&:focus {
border-color: transparent;
}
}
input.umb-editor-header__name-input:disabled {
@@ -156,7 +162,6 @@ a.umb-editor-header__close-split-view:hover {
align-items: center;
padding: 0 10px;
margin: 1px 1px;
position: absolute;
right: 0;
height: 30px;
text-decoration: none !important;

View File

@@ -21,7 +21,7 @@
</ng-form>
<div id="nameField" class="umb-editor-header__name-and-description" style="flex: 1 1 auto;">
<div class="umb-editor-header__name-wrapper">
<div class="umb-editor-header__name-wrapper" ng-show="!nameLocked || !hideAlias">
<ng-form name="headerNameForm">
<input data-element="editor-name-field"
no-password-manager