1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

[terms and conditions] fixup for the 'name' input in the 'add' dialog; handled 'long text' preview (#6328)

This commit is contained in:
llj
2024-07-10 18:02:11 +08:00
committed by GitHub
parent 0e950d29d7
commit 98b818b26e
3 changed files with 6 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class AddOrUpdateTermDialog extends React.Component {
}
handleNameChange = (e) => {
this.setState({name: e.target.value.trim()});
this.setState({name: e.target.value});
};
handleVersionNumberChange = (e) => {

View File

@@ -3,6 +3,8 @@ import PropTypes from 'prop-types';
import { processor } from '@seafile/seafile-editor';
import Loading from './loading';
import '../css/terms-preview.css';
const propTypes = {
content: PropTypes.string,
onContentClick: PropTypes.func,

View File

@@ -0,0 +1,3 @@
.conditions-preview-container {
word-break: break-word;
}