mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 11:33:43 +08:00
fe7c941677
As discussed in #31667 & #26561, when a card on a Project contains images, they can overflow the card on its containing column. This aims to fix this issue via snapping scrollbars. --- Issue #31667 is open to discussion as there should be room for improvement.
41 lines
663 B
CSS
41 lines
663 B
CSS
.issue-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
align-items: stretch;
|
|
border-radius: var(--border-radius);
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--color-secondary);
|
|
background: var(--color-card);
|
|
}
|
|
|
|
.issue-card-icon,
|
|
.issue-card-unpin {
|
|
margin-top: 1px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.issue-card-title {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.issue-card.sortable-chosen .issue-card-title {
|
|
cursor: inherit;
|
|
}
|
|
|
|
.issue-card-bottom {
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
gap: 0.25em;
|
|
}
|
|
|
|
.issue-card-assignees {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25em;
|
|
justify-content: end;
|
|
flex-wrap: wrap;
|
|
}
|