Skip to content

Commit

Permalink
editor background and alignment issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
radhika committed Oct 12, 2022
1 parent 0e7bf7e commit eda591c
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 67 deletions.
3 changes: 1 addition & 2 deletions packages/ui-kit/src/components/editors/monaco-v2/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { IEditor } from './Editor.interface';
import MonacoFirecampLangInit, {
SetCompletionProvider,
} from '../monaco/lang/init';

import '../monaco/sass/MultiLineIFE.sass';
import './sass/Editor.sass';

const Editor: FC<IEditor> = ({
value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import MonacoFirecampLangInit, {
SetCompletionProvider,
} from '../monaco/lang/init';

import '../monaco/sass/SingleLineIFE.sass';

type TSLEditor = {
type: 'text' | 'number';
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@
font-size: 14px
left: 66px
letter-spacing: 0.2px
font-family: inherit
font-family: inherit

.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input
background-color: transparent !important

.monaco-editor .margin
background-color: var(--focus-level-2) !important

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/ui-kit/src/components/url/components/Url.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Url: FC<IUrl> = ({
fontWeight: 600,
}}
className="without-border without-padding"
height={26}
height={21}
path={id}
type="text"
onEnter={onEnter}
Expand Down
4 changes: 3 additions & 1 deletion packages/ui-kit/src/components/url/components/UrlBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ const Prefix: FC<IPrefix> = ({ children, className }) => {

const Body: FC<IBody> = ({ children, className }) => {
return (
<Column className={className} flex={1} overflow="hidden">
<Column className={cx(className, `flex items-center`)} flex={1} overflow="hidden">
<div className="flex-1">
{children}
</div>
</Column>
);
};
Expand Down

0 comments on commit eda591c

Please sign in to comment.