Skip to content

fix table and nav UI after seafile-ui.css update #7602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion frontend/src/components/dialog/share-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
7 changes: 6 additions & 1 deletion media/css/seahub_react.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down