ui: заменить оставшиеся боковые панели на центрированные popup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -218,14 +218,14 @@ function ttShowDetail(empId) {
|
||||
'</table>' +
|
||||
'</div>';
|
||||
|
||||
overlay.style.display = 'block';
|
||||
panel.style.transform = 'translateX(0)';
|
||||
if (overlay) overlay.style.display = 'none';
|
||||
panel.style.display = 'flex';
|
||||
}
|
||||
|
||||
function ttCloseDetail() {
|
||||
var panel = document.getElementById('tt-detail');
|
||||
var overlay = document.getElementById('tt-detail-overlay');
|
||||
if (panel) panel.style.transform = 'translateX(100%)';
|
||||
if (panel) panel.style.display = 'none';
|
||||
if (overlay) overlay.style.display = 'none';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user