/
githubmirror
/
gitness
Обзор
Документация
Войти
/
githubmirror
/
gitness
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
web/src/components/DiffViewer/InViewDiffBlockRenderer.module.scss
32 строки
575 B
Tan Nhu
Collapse resolved comments by default (#1133)
26 мар 2024, 01:45
26 мар 2024, 01:45
c3f66e5
Код
Авторство
О чём код?
.main { --block-height: auto; display: flex; flex-direction: column; gap: var(--spacing-medium); box-sizing: border-box; visibility: visible; height: auto; min-height: 48px; &.hidden { height: var(--block-height); visibility: hidden; content-visibility: auto; contain-intrinsic-size: auto var(--block-height); > * { visibility: hidden !important; > * { display: none !important; } } } &:has([data-comment-editor-shown='true']) { height: auto !important; min-height: auto !important; } }