Skip to content

Commit

Permalink
fix(code-compare): code compare navigation loading styles (#7732)
Browse files Browse the repository at this point in the history
  • Loading branch information
luvkapur authored Aug 3, 2023
1 parent 5e8c961 commit 9d3a59e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
flex-direction: column;
background: var(--on-surface-neutral-low-color, #282828) !important;
transition: min-height 0.4s ease-in-out;

&.loading {
padding: 0px 24px;
}
}

.componentCompareCodeDiffEditorContainer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,7 @@ export function CodeCompareView({
maxHeight: containerHeightStyle,
height: containerHeightStyle,
}}
className={classNames(
styles.componentCompareCodeViewContainer,
className,
loading && styles.loading,
isFullScreen && styles.isFullScreen
)}
className={classNames(styles.componentCompareCodeViewContainer, className, isFullScreen && styles.isFullScreen)}
>
<CodeCompareNavigation
files={files}
Expand All @@ -314,11 +309,7 @@ export function CodeCompareView({
maxHeight: codeContainerHeightStyle,
height: codeContainerHeightStyle,
}}
className={classNames(
styles.componentCompareCodeDiffEditorContainer,
loading && styles.loading,
isFullScreen && styles.isFullScreen
)}
className={classNames(styles.componentCompareCodeDiffEditorContainer, isFullScreen && styles.isFullScreen)}
>
<CodeCompareViewLoader
className={classNames(!loading && styles.hideLoader, isFullScreen && styles.isFullScreen)}
Expand Down

0 comments on commit 9d3a59e

Please sign in to comment.