mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
Seahub UI (#5261)
* [top toolbar] fixed the position of the vertical line between 2 sides - fixed it for all the pages - removed the duplicated 'div.main-panel' in 'lib-content-view' * [search] modified the UI * [top toolbar] redesigned the notification * [top toolbar] avatar & the triangle: modified the UI * [left side panel] updated the UI; fixup & improvement * [misc] modified links' color, op-icon, and etc. * [misc] updated UI for share dialog, other dialogs, & 'more operations' dropdown * [misc] UI: modified markdown side panels, comment panels, input/textarea placeholder * ['user settings' page] modified UI * [shared dir upload link page] modified the UI * [user settings] modified the UI * [user settings] fixup * [seafile-ui.css] use an updated one (modified color of buttons)
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
.seafile-comment-list {
|
||||
overflow-y: auto;
|
||||
}
|
||||
.seafile-comment-list .comment-vacant {
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
|
@@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
.seafile-markdown-editor .side-panel .nav .nav-link.active {
|
||||
color: #f19645;
|
||||
color: #ff9800;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
|
@@ -69,7 +69,6 @@ class CommentPanel extends React.Component {
|
||||
|
||||
addComment = () => {
|
||||
if (!this.state.comment.trim()) return;
|
||||
console.log(filePath, repoID);
|
||||
seafileAPI.postComment(repoID, filePath, this.state.comment.trim()).then(() => {
|
||||
this.listComments(true);
|
||||
}).catch(err => {
|
||||
@@ -80,7 +79,6 @@ class CommentPanel extends React.Component {
|
||||
|
||||
onSubmit = () => {
|
||||
this.addParticipant(username);
|
||||
console.log(username);
|
||||
if (this.toBeAddedParticipant.length === 0) {
|
||||
this.addComment();
|
||||
} else {
|
||||
@@ -240,4 +238,4 @@ class CommentPanel extends React.Component {
|
||||
|
||||
CommentPanel.propTypes = CommentPanelPropTypes;
|
||||
|
||||
export default CommentPanel;
|
||||
export default CommentPanel;
|
||||
|
Reference in New Issue
Block a user