1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00

[image file view] modified 'header' ui (#2987)

This commit is contained in:
llj
2019-02-23 11:30:29 +08:00
committed by Daniel Pan
parent ea3c1b8ddb
commit 5fb00fb8d3
2 changed files with 51 additions and 53 deletions

View File

@@ -39,8 +39,7 @@ class FileToolbar extends React.Component {
} }
} }
return ( return (
<div> <ButtonGroup className="align-self-center">
<ButtonGroup>
<IconButton <IconButton
id="open-parent-folder" id="open-parent-folder"
icon="fa fa-folder-open" icon="fa fa-folder-open"
@@ -92,7 +91,6 @@ class FileToolbar extends React.Component {
/> />
)} )}
</ButtonGroup> </ButtonGroup>
</div>
); );
} }
} }

View File

@@ -5,7 +5,7 @@ body {
height: 100%; height: 100%;
} }
.file-view-header { .file-view-header {
padding: 10px 15px; padding: 4px 10px;
border-bottom: 1px solid #c9c9c9; border-bottom: 1px solid #c9c9c9;
flex-shrink: 0; flex-shrink: 0;
} }