1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

feat: adjust the style of button

This commit is contained in:
liuhongbo
2023-11-30 17:19:48 +08:00
parent 17e832274c
commit 25a5fc39b9
3 changed files with 27 additions and 24 deletions

View File

@@ -335,7 +335,7 @@ class LinkCreation extends React.Component {
</FormGroup>
)}
{this.state.errorInfo && <Alert color="danger" className="mt-2">{gettext(this.state.errorInfo)}</Alert>}
<Button onClick={this.generateShareLink} className="mt-2">{gettext('Generate')}</Button>
<Button onClick={this.generateShareLink} className="mt-3 ml-1 mb-1">{gettext('Generate')}</Button>
</Form>
</Fragment>
);

View File

@@ -52,7 +52,7 @@ class LinkList extends React.Component {
return (
<Fragment>
<div className="d-flex justify-content-between align-items-center pb-2 border-bottom">
<div className="d-flex justify-content-between align-items-center pb-2 mt-1 pr-1 border-bottom">
<h6 className="font-weight-normal m-0">{gettext('Share Link')}</h6>
<div className="d-flex">
{selectedLinks.length == 0 ? (