최상위 탭 너비 수정

main
이범준 11 months ago
parent 8838f17904
commit 91e330ae24

@ -360,7 +360,7 @@ $(document).ready(function(){
}
$P.fnReset = () => {
$('#btnAnsBasicTab--${pageName}').tab("show");
$('#btnAnsBasicTab--${pageName}').trigger("click");
$P.ansBodyControl.levy.setData([]);
$P.ansBodyControl.warning.setData([]);
$P.ansBodyControl.nonlevy.setData([]);

@ -93,7 +93,12 @@ function openMenu(obj, params) {
if(dataKey != "dashboard"){
linkClass += ' nav-link-closeable';
}
liEl +='<button type="button" data-bs-toggle="tab" data-bs-target="#tab-'+ dataKey + '" class="' + linkClass + '">' + menuNm + '</button>';
liEl +='<button type="button" data-bs-toggle="tab" data-bs-target="#tab-'+ dataKey + '" class="' + linkClass + '">'
+ '<span class="w-px-120 text-truncate" title="' + menuNm + '">'
+ menuNm
+ '</span>'
+ '</button>';
if(dataKey != "dashboard"){
liEl += '<button type="button" title="닫기" class="btn btn-close" onclick="closeTab('+ dataKey + ')"></button>'
}

Loading…
Cancel
Save