From 16c8b23b347792d7811cff66a27d350fe5d0d62c Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:32:07 +1100 Subject: [PATCH] Changes Report Bug icon to a bug --- .../src/common/components/IAIIconButton.scss | 10 +- .../src/common/components/IAIIconButton.tsx | 1 + frontend/src/features/system/SiteHeader.tsx | 118 ++++++++---------- 3 files changed, 63 insertions(+), 66 deletions(-) diff --git a/frontend/src/common/components/IAIIconButton.scss b/frontend/src/common/components/IAIIconButton.scss index d123f1597f..935bb056cf 100644 --- a/frontend/src/common/components/IAIIconButton.scss +++ b/frontend/src/common/components/IAIIconButton.scss @@ -8,7 +8,7 @@ background-color: var(--btn-grey-hover); } - &[data-selected=true] { + &[data-selected='true'] { background-color: var(--accent-color); &:hover { background-color: var(--accent-color-hover); @@ -17,4 +17,12 @@ &[disabled] { cursor: not-allowed; } + + &[data-variant='link'] { + background-color: none !important; + &:hover { + background-color: none !important; + background: none !important; + } + } } diff --git a/frontend/src/common/components/IAIIconButton.tsx b/frontend/src/common/components/IAIIconButton.tsx index de8765c395..d86d4cddea 100644 --- a/frontend/src/common/components/IAIIconButton.tsx +++ b/frontend/src/common/components/IAIIconButton.tsx @@ -28,6 +28,7 @@ const IAIIconButton = (props: Props) => { { -
- - } - /> - -
+ } + />
- - - + - - - - - } - /> - + + + + } + /> - - - - - } - /> - + + + + } + /> - - { } /> - -
- - } - /> - -
+ } + />