Skip to content

Commit a139215

Browse files
authored
fix(widget-files): make download button always visible for a11y (#1454)
1 parent 5f520ac commit a139215

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/node_modules/@webex/widget-files/src/components/ShareListingItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import connectFileDownloader from '@webex/react-container-file-downloader';
66

77
function ShareListingItem({fileShare, onDownloadClick, type}) {
88
return (
9-
<div>
9+
<div className="webex-file-share-listing-item">
1010
<FileShareDisplay
1111
actor={fileShare.actor}
1212
file={fileShare.item}

packages/node_modules/@webex/widget-files/src/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
overflow-y: auto;
1111
padding: 10px;
1212
}
13+
14+
div[class="webex-file-share-listing-item"] div[class="md-content-file__aspect"] {
15+
visibility: visible;
16+
}

0 commit comments

Comments
 (0)