mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 11:02:25 +00:00
输入框样式微调
This commit is contained in:
@@ -9,7 +9,7 @@ const options = {
|
||||
modules: {
|
||||
toolbar: false
|
||||
},
|
||||
placeholder: 'Enter发送/Shift+Enter换行',
|
||||
placeholder: 'Enter发送 / Shift+Enter换行',
|
||||
theme: 'snow'
|
||||
}
|
||||
</script>
|
||||
@@ -24,7 +24,10 @@ const options = {
|
||||
|
||||
<style lang="scss">
|
||||
.ql-editor {
|
||||
padding: 8px;
|
||||
padding: 16px;
|
||||
padding-left: 16px;
|
||||
font-size: 14px;
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -229,9 +229,6 @@ const testItems = [
|
||||
<el-main class="input-box-main">
|
||||
<InputEditor></InputEditor>
|
||||
</el-main>
|
||||
<el-footer class="input-box-footer">
|
||||
<el-button type="primary">发送</el-button>
|
||||
</el-footer>
|
||||
</el-container>
|
||||
</div>
|
||||
</el-main>
|
||||
@@ -310,8 +307,10 @@ const testItems = [
|
||||
|
||||
.input-box-header {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.tool-set {
|
||||
display: flex;
|
||||
@@ -324,33 +323,12 @@ const testItems = [
|
||||
.right-tools {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.tool-icon {
|
||||
margin: 10px;
|
||||
|
||||
&:hover {
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-box-main {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
// flex: 1;
|
||||
}
|
||||
|
||||
.input-box-footer {
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
padding: 0px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
.el-button {
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user