Skip to content

Commit

Permalink
Merge pull request #73 from easyops-cn/steve/fix-playground-style-in-…
Browse files Browse the repository at this point in the history
…small-screen

Fix playground style in small screen
  • Loading branch information
weareoutman authored Feb 4, 2024
2 parents 2f20987 + 47b78c2 commit 3e2f80a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:

- name: Build (Bricks)
run: yarn build
env:
NX_REJECT_UNKNOWN_LOCAL_CACHE: '0'

- name: Compress artifacts
run: |
Expand Down
9 changes: 8 additions & 1 deletion src/pages/playground/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
}

.column,
.toolbarColumn,
.editorBox,
.previewBox {
flex: 1;
}

.column,
.toolbarColumn,
.editorBox,
.previewBox {
min-height: 0;
min-width: 0;
}
Expand All @@ -43,6 +48,7 @@

.toolbarColumn:first-child {
justify-content: flex-start;
flex-shrink: 0;
}

.toolbarColumn:last-child {
Expand All @@ -51,6 +57,7 @@

.playground select {
height: 24px;
min-width: 0;
}

.playground :global(.button) {
Expand Down

0 comments on commit 3e2f80a

Please sign in to comment.