mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 10:34:02 +00:00
style: update workbench styles
This commit is contained in:
parent
412cb16628
commit
16fde64dee
@ -318,7 +318,7 @@ body {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
.lc-title {
|
.lc-title {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 46px;
|
width: calc(var(--left-area-width) - 2px);
|
||||||
height: 46px;
|
height: 46px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export class Setters implements IPublicApiSetters {
|
|||||||
const workspace = globalContext.get('workspace');
|
const workspace = globalContext.get('workspace');
|
||||||
if (workspace.isActive) {
|
if (workspace.isActive) {
|
||||||
return untracked(() => {
|
return untracked(() => {
|
||||||
if (!workspace.window.innerSetters) {
|
if (!workspace.window?.innerSetters) {
|
||||||
logger.error('setter api 调用时机出现问题,请检查');
|
logger.error('setter api 调用时机出现问题,请检查');
|
||||||
return this[innerSettersSymbol];
|
return this[innerSettersSymbol];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,7 +22,7 @@ export class Skeleton implements IPublicApiSkeleton {
|
|||||||
}
|
}
|
||||||
const workspace = globalContext.get('workspace');
|
const workspace = globalContext.get('workspace');
|
||||||
if (workspace.isActive) {
|
if (workspace.isActive) {
|
||||||
if (!workspace.window.innerSkeleton) {
|
if (!workspace.window?.innerSkeleton) {
|
||||||
logger.error('skeleton api 调用时机出现问题,请检查');
|
logger.error('skeleton api 调用时机出现问题,请检查');
|
||||||
return this[innerSkeletonSymbol];
|
return this[innerSkeletonSymbol];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -276,7 +276,7 @@ body {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
.lc-title {
|
.lc-title {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 46px;
|
width: calc(var(--left-area-width) - 2px);
|
||||||
height: 46px;
|
height: 46px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user