init
This commit is contained in:
54
xhs-mini-demos/component-case/editor/editor.css
Normal file
54
xhs-mini-demos/component-case/editor/editor.css
Normal file
@@ -0,0 +1,54 @@
|
||||
@import './assets/iconfont.css';
|
||||
|
||||
page > view {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ql-container {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
overflow: auto;
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
|
||||
.ql-active {
|
||||
color: #22c704;
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
display: flex;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
box-sizing: border-box;
|
||||
padding: 0 10px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 100%;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #ececec;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
background-color: white;
|
||||
}
|
||||
Reference in New Issue
Block a user