1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Repo history redesign (#7229)

* [repo history] display it with a dialog instead of an independent page

* [repo history] redesigned the 'commit details' dialog

* [repo history] added prop type checking
This commit is contained in:
llj
2024-12-21 18:22:52 +08:00
committed by GitHub
parent 9fb6870679
commit 49bd39f7df
8 changed files with 392 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
.commit-detail-item {
list-style-type: none;
.repo-commit-time {
font-size: .875rem;
}
.repo-commit-time .seafile-multicolor-icon-time {
width: 1rem;
height: 1rem;
color: #999;
}

View File

@@ -39,3 +39,24 @@ body {
.go-back .sf3-font-down {
font-size: 1.75rem !important;
}
/* for the dialog */
.repo-snapshot-tip {
font-size: .875rem;
color: #666;
}
#repo-history-dialog.modal-dialog {
max-height: calc(100% - 3.5rem);
overflow: hidden;
height: calc(100% - 3.5rem);
}
#repo-history-dialog .modal-content {
max-height: 100%;
overflow: hidden;
}
#repo-history-dialog .modal-body {
overflow: auto;
}