Prevent Long Cell Names from Obscuring Cancel and Save Buttons (#1805)

* Prevent cell renamer from pushing controls off the screen

* Only enforce width proportions on page headers if a center element is provided
pull/10616/head
alexpaxton 2018-12-10 13:07:33 -08:00 committed by GitHub
parent 5dd9912d00
commit 4f723eb458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 8 deletions

View File

@ -7,8 +7,8 @@ $rename-dash-title-padding: 8px;
.rename-dashboard {
height: $form-sm-height;
min-width: 0;
width: 100%;
max-width: 42vw;
}
.rename-dashboard--title,

View File

@ -46,7 +46,6 @@
}
.page-header--left {
flex: 1 0 0;
justify-content: flex-start;
> * {
margin: 0 4px 0 0;

View File

@ -44,9 +44,7 @@ class PageHeaderLeft extends Component<Props> {
const {offsetPixels} = this.props
if (offsetPixels === DEFAULT_OFFSET) {
return {
flex: `1 0 ${offsetPixels}`,
}
return
}
return {

View File

@ -32,9 +32,7 @@ class PageHeaderRight extends Component<Props> {
const {offsetPixels} = this.props
if (offsetPixels === DEFAULT_OFFSET) {
return {
flex: `1 0 ${offsetPixels}`,
}
return
}
return {