Skip to content

Commit

Permalink
Merge pull request #309 from codersaiful/3.4.5.0
Browse files Browse the repository at this point in the history
all done
  • Loading branch information
codersaiful authored Nov 30, 2023
2 parents 57a6663 + 2d80adb commit 3a82a20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions assets/css/new-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ table.wpt-my-table tr td label {
background-color: #f6f6f6;
/* background-color: #fbfaf9; */
}

.wpt_tab_content.tab-content .wpt-my-table > thead > tr > th:last-child,
.wpt_tab_content.tab-content .wpt-my-table > tbody > tr > td:last-child {
display: none;
}
/* .wpt-my-table > thead > tr:hover > th:last-child, */
.wpt-my-table > tbody > tr:hover > td:last-child {
background-color: #fdfdfd;
Expand Down
4 changes: 2 additions & 2 deletions assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1059,10 +1059,10 @@ jQuery.fn.extend({

if(tabSerial !== 0){
$(this).hide();
tabHtml += "<a href='#" + tableId + "' class='tab-button wpt-button'>" + tableTitle + "</a>"
tabHtml += "<a href='#" + tableId + "' class='tab-button wpt-button link-" + tableId + "'>" + tableTitle + "</a>"
}else{
$(this).addClass('active');
tabHtml += "<a href='#" + tableId + "' class='tab-button wpt-button active'>" + tableTitle + "</a>"
tabHtml += "<a href='#" + tableId + "' class='tab-button wpt-button link-" + tableId + " active'>" + tableTitle + "</a>"
}

tabSerial++;
Expand Down

0 comments on commit 3a82a20

Please sign in to comment.