Skip to content

Commit b334196

Browse files
authored
BuildList item. Secondary action menu is always hidden (#238)
* BuildList item. Secondary action menu is always hidden closes Visual-Regression-Tracker/Visual-Regression-Tracker#313 * Update workflow.yml
1 parent 1e9887b commit b334196

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-16.04
11+
runs-on: ubuntu-latest
1212

1313
steps:
1414
- uses: actions/checkout@v2

src/components/BuildList/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ const useStyles = makeStyles((theme: Theme) =>
4444
listItemSecondaryAction: {
4545
visibility: "hidden",
4646
},
47+
listItem: {
48+
"&:hover $listItemSecondaryAction": {
49+
visibility: "inherit",
50+
},
51+
},
4752
})
4853
);
4954

@@ -120,6 +125,9 @@ const BuildList: FunctionComponent = () => {
120125
onClick={() => {
121126
selectBuild(buildDispatch, build.id);
122127
}}
128+
classes={{
129+
container: classes.listItem,
130+
}}
123131
>
124132
<ListItemText
125133
disableTypography

0 commit comments

Comments
 (0)