mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
Change common file type comment input style (#7931)
* 01 fix wrong text * 02 input comment container style * 03 change reply container style
This commit is contained in:
@@ -132,9 +132,9 @@
|
||||
.seafile-comment-footer {
|
||||
padding: 16px 16px 0px;
|
||||
margin-bottom: 16px;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.seafile-comment-footer .add-comment-input,
|
||||
@@ -157,24 +157,14 @@
|
||||
}
|
||||
|
||||
.seafile-comment-footer .comment-submit-container {
|
||||
border: 1px solid #e6e6dd;
|
||||
border-top: none;
|
||||
border-radius: 0 0 5px 5px;
|
||||
padding: 0px 5px;
|
||||
background: #fff;
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
width: 327px;
|
||||
}
|
||||
|
||||
.seafile-comment-footer .comment-submit-container::before {
|
||||
border-top: 1px solid #e6e6dd;
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
top: 0;
|
||||
width: 26px;
|
||||
right: 22px;
|
||||
top: 80px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.seafile-comment-footer .sdoc-comment-btn {
|
||||
|
10
frontend/src/css/react-mentions-default-style.js
vendored
10
frontend/src/css/react-mentions-default-style.js
vendored
@@ -31,12 +31,16 @@ const defaultStyle = {
|
||||
padding: 9,
|
||||
},
|
||||
input: {
|
||||
padding: '8px 6px 20px 6px',
|
||||
padding: '8px',
|
||||
maxHeight: 90,
|
||||
minHeight: 90,
|
||||
height: 90,
|
||||
border: '1px solid #e6e6dd',
|
||||
overfflowY: 'auto',
|
||||
lineHeight: 'default',
|
||||
overflowY: 'auto',
|
||||
outline: 'none',
|
||||
borderBottom: 'none',
|
||||
borderRadius: '5px',
|
||||
border: '1px solid #e6e6dd',
|
||||
},
|
||||
},
|
||||
suggestions: {
|
||||
|
Reference in New Issue
Block a user