Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
CSS code for icons was in the wrong place.
  • Loading branch information
marvel-uiuc authored Aug 23, 2024
1 parent b026729 commit a388d0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ as long as you include them as inline SVG rather than with an `<img>` tag.

With other icons, you may need to apply the change. For reference, here is the relevant CSS for the Illinois icons:

```css
ilw-card[clickable] path.cls-1 {
fill: currentColor;
}
```

### Buttons in cards

The card component overrides certain aspects of `ilw-button` and `ilw-buttons` elements to make them match
Expand All @@ -45,12 +51,6 @@ added to the buttons (eg. `ilw-theme-orange`).
For clickable cards, the CSS background animation is also removed, because it doesn't really work with the card
transition.

```css
ilw-card[clickable] path.cls-1 {
fill: currentColor;
}
```

## Code Examples

### Basic card with buttons
Expand Down

0 comments on commit a388d0f

Please sign in to comment.