mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed editor layout
This commit is contained in:
parent
5c5beabba6
commit
a2bb40bb14
3 changed files with 46 additions and 54 deletions
|
@ -18,14 +18,6 @@ interface IProps {}
|
|||
|
||||
const EditorExample: FC<IProps> = () => (
|
||||
<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>
|
||||
<div className={styles.editor}>
|
||||
<Panel>
|
||||
|
@ -79,7 +71,6 @@ const EditorExample: FC<IProps> = () => (
|
|||
</Panel>
|
||||
</div>
|
||||
</Group>
|
||||
</Group>
|
||||
</Card>
|
||||
);
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
background: $editor_panel_bg;
|
||||
flex: 1;
|
||||
//border-radius: 0 $radius $radius 0;
|
||||
border-radius: $radius 0 $radius 0;
|
||||
border-radius: $radius;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -254,7 +254,8 @@
|
|||
}
|
||||
|
||||
&.focused .title, &.has_value .title {
|
||||
font: $font_10_semibold;
|
||||
// font: $font_10_semibold;
|
||||
font-size: 10px;
|
||||
top: -6px;
|
||||
bottom: auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue