mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
modify tip style
This commit is contained in:
@@ -252,3 +252,11 @@
|
||||
flex: 0 0 .5%;
|
||||
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>
|
||||
<div className="cur-view-container">
|
||||
{this.props.currentRepoInfo.status === 'read-only' &&
|
||||
<div style={{background:'#FEFBDC', textAlign:'center'}}>
|
||||
<p>{gettext('This library has been set to read-only by admin and cannot be updated.')}</p>
|
||||
<div className="readonly-tip-message">
|
||||
{gettext('This library has been set to read-only by admin and cannot be updated.')}
|
||||
</div>
|
||||
}
|
||||
<div className="cur-view-path">
|
||||
|
Reference in New Issue
Block a user