From c1da74cbc0fafbe7aa1e4543aae60ef82067fc49 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Wed, 30 Oct 2019 15:06:42 -0700 Subject: [PATCH] fix PF switch styling --- .../src/components/NotificationList/NotificationListItem.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui_next/src/components/NotificationList/NotificationListItem.jsx b/awx/ui_next/src/components/NotificationList/NotificationListItem.jsx index 43c51543d3..f32e8a80e7 100644 --- a/awx/ui_next/src/components/NotificationList/NotificationListItem.jsx +++ b/awx/ui_next/src/components/NotificationList/NotificationListItem.jsx @@ -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) {