Skip to content

Commit

Permalink
update visual editor action title style
Browse files Browse the repository at this point in the history
  • Loading branch information
yeze322 committed Dec 6, 2019
1 parent cc6ed01 commit b79cc46
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,20 @@ export const FormCard: FunctionComponent<NodeProps> = ({
color: 'black',
}}
>
<div css={{ padding: '4px 8px', fontSize: '12px', fontFamily: 'Segoe UI', lineHeight: '14px' }}>{header}</div>
<div
css={{
padding: '4px 8px',
fontSize: '12px',
fontFamily: 'Segoe UI',
lineHeight: '14px',
overflow: 'hidden',
textOverflow: 'ellipsis',
width: 'calc(100% - 40px)',
whiteSpace: 'pre',
}}
>
{header}
</div>
<div css={{ position: 'absolute', top: 4, right: 0 }}>{corner}</div>
</div>
<div
Expand Down

0 comments on commit b79cc46

Please sign in to comment.