mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
Merge pull request #5803 from haiwen/fix-share-link-style
Fix share link style
This commit is contained in:
@@ -335,7 +335,7 @@ class LinkCreation extends React.Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
)}
|
)}
|
||||||
{this.state.errorInfo && <Alert color="danger" className="mt-2">{gettext(this.state.errorInfo)}</Alert>}
|
{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-2 ml-1 mb-1">{gettext('Generate')}</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
@@ -52,7 +52,7 @@ class LinkList extends React.Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<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>
|
<h6 className="font-weight-normal m-0">{gettext('Share Link')}</h6>
|
||||||
<div className="d-flex">
|
<div className="d-flex">
|
||||||
{selectedLinks.length == 0 ? (
|
{selectedLinks.length == 0 ? (
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.share-dialog .share-dialog-content {
|
.share-dialog .share-dialog-content {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -27,14 +28,14 @@
|
|||||||
border: 0;
|
border: 0;
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
}
|
}
|
||||||
.share-dialog-side .nav {
|
.share-dialog-side .nav {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.share-dialog-side .nav-pills .nav-item .nav-link {
|
.share-dialog-side .nav-pills .nav-item .nav-link {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0.3125rem 0.5rem;
|
padding: 0.3125rem 0.5rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.share-dialog-content .share-dialog-main {
|
.share-dialog-content .share-dialog-main {
|
||||||
@@ -144,11 +145,10 @@ input.expire-input {
|
|||||||
.custom-permission .permission-name-desc {
|
.custom-permission .permission-name-desc {
|
||||||
margin-top: .375rem;
|
margin-top: .375rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-permission .permission-name-desc label {
|
.custom-permission .permission-name-desc label {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-permission .permission-name-desc .permission-name,
|
.custom-permission .permission-name-desc .permission-name,
|
||||||
.custom-permission .permission-name-desc .permission-desc {
|
.custom-permission .permission-name-desc .permission-desc {
|
||||||
@@ -162,4 +162,4 @@ input.expire-input {
|
|||||||
.custom-permission .permissions-list-body {
|
.custom-permission .permissions-list-body {
|
||||||
max-height: 350px;
|
max-height: 350px;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user