输入框样式微调

This commit is contained in:
bob
2024-09-05 11:24:58 +08:00
parent b7b7c9c793
commit 1cb9b3b261
2 changed files with 8 additions and 27 deletions

View File

@@ -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>

View File

@@ -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;
}
}
}
}