1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed editor layout

This commit is contained in:
muerwre 2019-08-01 04:01:16 +07:00
parent 5c5beabba6
commit a2bb40bb14
3 changed files with 46 additions and 54 deletions

View file

@ -18,14 +18,6 @@ interface IProps {}
const EditorExample: FC<IProps> = () => ( const EditorExample: FC<IProps> = () => (
<Card className={styles.wrap} seamless> <Card className={styles.wrap} seamless>
<Group seamless style={{ flex: 1 }}>
<Panel>
<Group horizontal>
<Filler>TITLE</Filler>
<div className={styles.close_icon} />
</Group>
</Panel>
<Group horizontal className={styles.group} seamless> <Group horizontal className={styles.group} seamless>
<div className={styles.editor}> <div className={styles.editor}>
<Panel> <Panel>
@ -79,7 +71,6 @@ const EditorExample: FC<IProps> = () => (
</Panel> </Panel>
</div> </div>
</Group> </Group>
</Group>
</Card> </Card>
); );

View file

@ -17,7 +17,7 @@
background: $editor_panel_bg; background: $editor_panel_bg;
flex: 1; flex: 1;
//border-radius: 0 $radius $radius 0; //border-radius: 0 $radius $radius 0;
border-radius: $radius 0 $radius 0; border-radius: $radius;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -254,7 +254,8 @@
} }
&.focused .title, &.has_value .title { &.focused .title, &.has_value .title {
font: $font_10_semibold; // font: $font_10_semibold;
font-size: 10px;
top: -6px; top: -6px;
bottom: auto; bottom: auto;
} }