Skip to content

Commit

Permalink
Move landing page badge styling to separate file (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwinchell authored Feb 2, 2024
1 parent 432ea99 commit 7b81ed2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
13 changes: 13 additions & 0 deletions src/Components/AstroAvatar/AstroBadge.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.astro-c-button-badge {
background: var(--pf-v5-global--palette--red-200);
border-radius: 5px;
height: 50px;
padding: 6px;
width: 50px;
&:hover {
background: var(--pf-v5-global--palette--red-300);
}
.astro__badge {
width: 100%;
}
}
1 change: 1 addition & 0 deletions src/Components/AstroAvatar/AstroBadge.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Button, Tooltip } from '@patternfly/react-core';
import BubbleIcon from '../../assets/badge-icon.svg';
import './AstroBadge.scss';

interface AstroAvatarProps {
onClick: () => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
.astro-c-button-badge {
background: var(--pf-v5-global--palette--red-200);
border-radius: 5px;
height: 50px;
padding: 6px;
width: 50px;
&:hover {
background: var(--pf-v5-global--palette--red-300);
}
.astro__badge {
width: 100%;
}
}

.astro-c-card {
width: 350px;
height: 550px;
Expand Down

0 comments on commit 7b81ed2

Please sign in to comment.