feat: New actions menu for components in Studio (behind waffle flag) (#31853)

This commit is contained in:
Braden MacDonald
2023-03-03 10:09:27 -08:00
committed by GitHub
parent 89e308e45e
commit 6805654d40
5 changed files with 132 additions and 24 deletions

View File

@@ -68,6 +68,24 @@
width: 49%;
@include text-align(right);
// On components, if the copy/paste feature flag is enabled, we put the actions into a dropdown menu.
.wrapper-nav-sub {
@include text-align(left); // Undo the 'text-align: right' inherited from the parent
z-index: 10; // Stay in front of things like the video xblock or the "add component" buttons
.nav-item {
a {
// Match styling of ".wrapper-header nav .nav-item a" (dropdowns in Studio header)
color: $gray-d1;
&:hover {
color: $uxpl-blue-hover-active;
}
}
}
}
}
}