fix PF switch styling

This commit is contained in:
Keith Grant
2019-10-30 15:06:42 -07:00
parent 9b09344bae
commit c1da74cbc0

View File

@@ -27,6 +27,8 @@ const DataListCell = styled(PFDataListCell)`
const Switch = styled(PFSwitch)`
display: flex;
flex-wrap: no-wrap;
/* workaround PF bug; used in calculating switch width: */
--pf-c-switch__toggle-icon--Offset: 0.125rem;
`;
function NotificationListItem(props) {