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 providedpull/10616/head
parent
5dd9912d00
commit
4f723eb458
|
@ -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,
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
}
|
||||
|
||||
.page-header--left {
|
||||
flex: 1 0 0;
|
||||
justify-content: flex-start;
|
||||
> * {
|
||||
margin: 0 4px 0 0;
|
||||
|
|
|
@ -44,9 +44,7 @@ class PageHeaderLeft extends Component<Props> {
|
|||
const {offsetPixels} = this.props
|
||||
|
||||
if (offsetPixels === DEFAULT_OFFSET) {
|
||||
return {
|
||||
flex: `1 0 ${offsetPixels}`,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -32,9 +32,7 @@ class PageHeaderRight extends Component<Props> {
|
|||
const {offsetPixels} = this.props
|
||||
|
||||
if (offsetPixels === DEFAULT_OFFSET) {
|
||||
return {
|
||||
flex: `1 0 ${offsetPixels}`,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue