Skip to content

Commit

Permalink
Merge pull request #6470 from Automattic/fix/student-action-menu
Browse files Browse the repository at this point in the history
Fix students context menu
  • Loading branch information
mikeyarce authored Feb 6, 2023
2 parents e9d610e + 0a2b87d commit 941158c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions assets/css/modules-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,26 @@
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
min-height: 25px !important;
}

/* Fixes action menu display in WP 6+ */
.student-action-menu .components-popover {
opacity: 1;
}

.student-action-menu .components-popover__content {
transform:translateX(-90%);
}

.student-action-menu .components-dropdown-menu__menu {
width: auto;
}

.student-action-menu .components-popover:not(.is-without-arrow)::after {
content: none;
}

@media screen and (max-width: 782px) {
.wp_list_table_sensei_learner_admins .is-expanded td:not(.hidden) {
overflow: visible;
}
}

0 comments on commit 941158c

Please sign in to comment.