mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
Commits & files UI: SUI fixed single line table
Instead using own ellipsis, uses Semantic UI fixed single line table which effectively applies ellipsis to all overflowing table cells. NOTE: File list cannot use colspan="2" for 1st "Last commit" elements, otherwise layout breaks with fixed table.
This commit is contained in:
parent
4813665d0a
commit
61fdd8c571
4 changed files with 32 additions and 129 deletions
|
@ -143,24 +143,11 @@
|
|||
}
|
||||
|
||||
#repo-files-table {
|
||||
.table.list {
|
||||
width: 80% !important;
|
||||
}
|
||||
|
||||
thead {
|
||||
th {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 5px;
|
||||
font-weight: normal;
|
||||
|
||||
#last-commit-message {
|
||||
margin-left: 5px;
|
||||
margin-bottom: -4px;
|
||||
width: 400px;
|
||||
}
|
||||
.age {
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
.ui.avatar {
|
||||
margin-bottom: 5px;
|
||||
|
@ -168,21 +155,7 @@
|
|||
}
|
||||
tbody {
|
||||
.icon {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.name {
|
||||
max-width: 120px;
|
||||
}
|
||||
.message {
|
||||
max-width: 300px;
|
||||
}
|
||||
.age {
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.text.truncate {
|
||||
margin-bottom: -5px;
|
||||
max-width: 100%;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
td {
|
||||
|
@ -610,26 +583,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.commits.table {
|
||||
font-size: 13px;
|
||||
th, td {
|
||||
&:first-child {
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
td {
|
||||
line-height: 15px;
|
||||
}
|
||||
.author {
|
||||
min-width: 180px;
|
||||
}
|
||||
.message span {
|
||||
max-width: 500px;
|
||||
}
|
||||
.date {
|
||||
width: 120px;
|
||||
}
|
||||
}
|
||||
|
||||
.diff-detail-box {
|
||||
margin: 15px 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue