Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-editor
Commits
0fbdd4b4
Commit
0fbdd4b4
authored
Nov 27, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
3975e6ac
86480c0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
playground.scss
src/themes/light/playground.scss
+11
-10
Playground.vue
src/views/Editor/Playground.vue
+2
-2
No files found.
src/themes/light/playground.scss
View file @
0fbdd4b4
...
...
@@ -3,26 +3,27 @@
width
:
750px
;
margin
:
10px
auto
;
height
:
1200px
;
max-height
:
1200px
;
//
max-height: 1200px;
background-color
:
transparent
;
box-shadow
:
0
0
10px
rgba
(
0
,
0
,
0
,
0
.4
);
overflow
:
hidden
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
/*transform: scale(.5, .5);
transform-origin: 50% 0%;*/
zoom
:
0
.5
;
}
.zero-playground-draw-panel
{
height
:
1200px
;
background
:
url(data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiUlEQVQ4jZ1TSxLFIAhLOp7C+19NjyFvlQ7lUUvLRgXzgVGOMQyb6L3/5cwMJAEAxw6sy3FP8tw/EkhJqp7klQMBtKpWcpC1oVp7IoiqviXg4xBFRPL7EM/6WsviYDxwzrkVaBHsz5U4MlWfKxHEySpXIdk6qLRzcXBHVnKQfZRKCy1Ty979XfwApOBe0rB0KiIAAAAASUVORK5CYII=)
;
background-repeat
:
repeat
;
/*overflow-y: auto;
overflow-x: hidden;*/
}
// .zero-playground-draw-panel{
// min-height: 1200px;
// height: 100%;
// /*overflow-y: auto;
// overflow-x: hidden;*/
// }
.zero-draw-panel-container
{
position
:
relative
;
// border: 5px #000 solid;
width
:
100%
;
// 谨慎修改,要和drawPanel宽度保持一致
min-height
:
1200px
;
width
:
100%
;
height
:
100%
;
}
.zero-draw-panel-container.scroll
{
height
:
1200px
;
...
...
src/views/Editor/Playground.vue
View file @
0fbdd4b4
<
template
>
<pane
icon=
"el-icon-s-open"
class=
"pane-playground"
:title=
"$t('panes.Playground')"
>
<div
class=
"zero-playground-body-center"
>
<
div
class=
"zero-playground-draw-panel"
>
<
!--
<div
class=
"zero-playground-draw-panel"
>
--
>
<draw-panel></draw-panel>
<
/div
>
<
!--
</div>
--
>
</div>
</pane>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment