Add style for full-width no-scroll page headers
does not factor in the scrollbar width in the headerpull/10616/head
parent
a7dfb5af5f
commit
52e2abc66b
|
@ -40,7 +40,7 @@ const Header = React.createClass({
|
|||
const {autoRefresh, actions: {handleChooseAutoRefresh}, timeRange} = this.props
|
||||
|
||||
return (
|
||||
<div className="page-header">
|
||||
<div className="page-header full-width-no-scrollbar">
|
||||
<div className="page-header__container">
|
||||
<div className="page-header__left">
|
||||
<h1>Data Explorer</h1>
|
||||
|
|
|
@ -64,4 +64,11 @@ $page-header-weight: 400 !important;
|
|||
&.full-width .page-header__container {
|
||||
max-width: 100%;
|
||||
}
|
||||
&.full-width-no-scrollbar {
|
||||
padding-right: $page-wrapper-padding;
|
||||
|
||||
.page-header__container {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue