Skip to content

Commit

Permalink
[UI] Make page title sticky and remove box shadow (#403)
Browse files Browse the repository at this point in the history
* Make page title sticky and drop box shadow.

* Less aggressive `z-index` value for app header.
  • Loading branch information
justinkambic authored May 10, 2023
1 parent b811606 commit aa6f56b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Header/HeaderControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import { UrlField } from './UrlField';
const Header = styled(EuiFlexGroup)`
background-color: ${props => props.theme.colors.emptyShade};
border-bottom: ${props => props.theme.border.thin};
padding: 65px 16px 16px 16px;
margin: 0px;
padding: 16px;
`;

const TestButtonDivider = styled(EuiFlexItem)`
Expand Down
3 changes: 2 additions & 1 deletion src/components/Header/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export function Title() {
borderBottom: euiTheme.border.thin,
paddingLeft: 4,
paddingRight: 4,
boxShadow: `0px 2px ${euiTheme.colors.lightestShade}`,
position: 'fixed',
zIndex: 999,
}}
paddingSize="xs"
>
Expand Down

0 comments on commit aa6f56b

Please sign in to comment.