import 'focus-within-polyfill'
.
.
.
.
<div className="content-overlay-details fadeIn-right">
<DocumentActions
doc={attachment}
previewResult={previewResult}
cardIsExpanded={cardIsExpanded}
/>
</div>
.attachmentsBodyRow:hover .content-overlay-details {
opacity: 1;
@media (max-width: map-get($grid-breakpoints, lg)) {
opacity: 1;
}
}
.attachmentsBodyRow:focus-within .content-overlay-details {
opacity: 1;
@media (max-width: map-get($grid-breakpoints, lg)) {
opacity: 1;
}
}
DocumentActions consists of 4 button icons out of which one has a popup with two other button icons
On hovering, the button icons are displayed.