File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
apps/builder/app/builder/features/style-panel/shared/css-editor Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import { PropertyInfo } from "../../property-label";
4040import { ColorPopover } from "../../shared/color-picker" ;
4141import { useClientSupports } from "~/shared/client-supports" ;
4242import { CopyPasteMenu , copyAttribute } from "./copy-paste-menu" ;
43- import { $settings } from "~/builder/shared/client-settings" ;
4443import { AddStyleInput } from "./add-style-input" ;
4544import { parseStyleInput } from "./parse-style-input" ;
4645import { $selectedInstanceKey } from "~/shared/awareness" ;
@@ -402,10 +401,8 @@ export const CssEditor = ({
402401 if ( search === "" ) {
403402 return handleAbortSearch ( ) ;
404403 }
405- // This is not needed in advanced mode because the input won't jump there as it is on top
406- if ( $settings . get ( ) . stylePanelMode !== "advanced" ) {
407- memorizeMinHeight ( ) ;
408- }
404+
405+ memorizeMinHeight ( ) ;
409406
410407 const styles = [ ] ;
411408 for ( const [ property , value ] of styleMap ) {
You can’t perform that action at this time.
0 commit comments