mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 06:44:16 +00:00
modify tip style
This commit is contained in:
@@ -252,3 +252,11 @@
|
|||||||
flex: 0 0 .5%;
|
flex: 0 0 .5%;
|
||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.readonly-tip-message {
|
||||||
|
display: flex;
|
||||||
|
padding: 0.25rem 0;
|
||||||
|
background-color: #FEFBDC;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
@@ -165,8 +165,8 @@ class LibContentContainer extends React.Component {
|
|||||||
<Fragment>
|
<Fragment>
|
||||||
<div className="cur-view-container">
|
<div className="cur-view-container">
|
||||||
{this.props.currentRepoInfo.status === 'read-only' &&
|
{this.props.currentRepoInfo.status === 'read-only' &&
|
||||||
<div style={{background:'#FEFBDC', textAlign:'center'}}>
|
<div className="readonly-tip-message">
|
||||||
<p>{gettext('This library has been set to read-only by admin and cannot be updated.')}</p>
|
{gettext('This library has been set to read-only by admin and cannot be updated.')}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<div className="cur-view-path">
|
<div className="cur-view-path">
|
||||||
|
Reference in New Issue
Block a user