Fix color for available plugins

Fixes the background of the plugins in the "Available Plugins" section in the settings.
This commit is contained in:
René Pfeuffer
2021-11-16 14:55:06 +01:00
parent 16850dc768
commit f45fd47cdd
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Color for available plugins

View File

@@ -49,6 +49,12 @@ const InheritFlexShrinkDiv = styled.div`
pointer-events: all;
`;
const InvisibleButton = styled.button`
background: none;
border: none;
cursor: pointer;
`;
const CardColumn: FC<Props> = ({
link,
avatar,
@@ -69,7 +75,7 @@ const CardColumn: FC<Props> = ({
createLink = <Link className="overlay-column" to={link} />;
} else if (action) {
createLink = (
<button
<InvisibleButton
className="overlay-column"
onClick={(e) => {
e.preventDefault();