Skip to content

Commit

Permalink
minor layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wuetherich committed Mar 25, 2020
1 parent 2b80b5a commit c1e2f50
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
14 changes: 12 additions & 2 deletions slizaa-web/app/src/components/slizaahgchooser/SlizaaHgChooser.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,26 @@
.slizaaHgChooser {
display: "inline-block";
float: "right";
margin-right: 15px;
margin-right: 15px;
}

.slizaaHgChooser-dropdown-database {
margin-right: 15px;
margin-right: 15px;
}

.slizaaHgChooser-button {
padding: 0px;
border-radius: 5px;
font-size: 12px;
height: auto;
}

.ant-dropdown-menu-item {
font-size: 12px;
}

.ant-dropdown-menu-item, .ant-dropdown-menu-submenu-title {
padding: 0px 12px;
}

.slizaaHgChooser-button-key {
Expand Down
12 changes: 6 additions & 6 deletions slizaa-web/app/src/views/mainview/internal/MainView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ export class MainView extends React.Component<IProps, IState> {
<Layout
style={{ minHeight: '100vh' }}>
<Layout.Header style={{ padding: 0 }}>
<Icon
className="trigger"
type={this.state.collapsed ? 'menu-unfold' : 'menu-fold'}
onClick={this.toggleCollapsed}
/>
<Link to="/">
<svg height="30px" viewBox="0 0 493.923 175.948" style={{ paddingLeft: "24px", verticalAlign: "middle" }}>
<svg height="30px" viewBox="0 0 493.923 175.948" style={{ verticalAlign: "middle" }}>
<SlizaaSvg />
</svg>
</Link>
<Icon
className="trigger"
type={this.state.collapsed ? 'menu-unfold' : 'menu-fold'}
onClick={this.toggleCollapsed}
/>
<SlizaaHgChooser
currentDatabase={this.props.currentDatabase}
currentHierarchicalGraph={this.props.currentHierarchicalGraph}
Expand Down

0 comments on commit c1e2f50

Please sign in to comment.