1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00

feat: recover code format

This commit is contained in:
liuhongbo
2023-11-30 17:31:22 +08:00
parent 25a5fc39b9
commit 05acb452f3
2 changed files with 9 additions and 12 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-3 ml-1 mb-1">{gettext('Generate')}</Button>
<Button onClick={this.generateShareLink} className="mt-2 ml-1 mb-1">{gettext('Generate')}</Button>
</Form>
</Fragment>
);

View File

@@ -8,7 +8,7 @@
@media (min-width: 768px) {
.share-dialog .share-dialog-content {
flex-direction: row;
}
}
}
.share-dialog-content .share-dialog-side {
@@ -27,17 +27,15 @@
padding: 12px 8px;
border: 0;
border-right: 1px solid #eee;
}
.share-dialog-side .nav {
}
.share-dialog-side .nav {
flex-direction: column;
}
.share-dialog-side .nav-pills .nav-item .nav-link {
}
.share-dialog-side .nav-pills .nav-item .nav-link {
width: 100%;
padding: 0.3125rem 0.5rem;
margin: 0;
}
}
}
.share-dialog-content .share-dialog-main {
@@ -105,8 +103,8 @@ input.expire-input {
.expire-input-border {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
height: 2.375rem !important;
padding: 0.375rem 0.75rem !important;
height: 2.375rem!important;
padding: 0.375rem 0.75rem!important;
}
.share-dialog-main .permission-editor .permission-editor__menu {
@@ -147,7 +145,6 @@ input.expire-input {
.custom-permission .permission-name-desc {
margin-top: .375rem;
}
.custom-permission .permission-name-desc label {
font-size: 14px;
color: #999;