1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-12 18:05:05 +00:00

fix table and nav UI

This commit is contained in:
Michael An 2025-03-13 11:30:23 +08:00
parent 5f412d7046
commit 40bd6b004b
2 changed files with 9 additions and 2 deletions
frontend/src/components/dialog
media/css

View File

@ -326,7 +326,9 @@ class ShareDialog extends React.Component {
<div>
<Modal isOpen={true} style={{ maxWidth: '760px' }} className="share-dialog" toggle={this.props.toggleDialog}>
<SeahubModalHeader toggle={this.props.toggleDialog} tag="div">
<h5 className="text-truncate">{gettext('Share')} <span className="op-target" title={itemName}>{itemName}</span></h5>
<h5 className="text-truncate m-0">
{gettext('Share')} <span className="op-target" title={itemName}>{itemName}</span>
</h5>
{this.renderExternalShareMessage()}
</SeahubModalHeader>
<ModalBody className="share-dialog-content" role="tablist">

View File

@ -790,7 +790,7 @@ a, a:hover {
.nav-pills .nav-item .nav-link.active {
background-color: #ff9800;
color: #fff;
border: none;
border-bottom: 0.125rem solid transparent;
}
.cur-view-path.tab-nav-container {
@ -1192,6 +1192,11 @@ table td {
word-break: break-all;
}
.table>:not(caption)>*>*,
.text-wrap table>:not(caption)>*>* {
box-shadow: none;
}
.table-thead-hidden thead tr {
height: 0;
border: 0;