Skip to content

Commit 08b495c

Browse files
authored
Merge pull request #768 from MelleD/MelleD-patch-6
docs: Update README with title-card styling and explanation
2 parents cacfab4 + b90f2ac commit 08b495c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,17 @@ style: |
352352
}
353353
```
354354

355+
If you have a title-card
356+
357+
```yaml
358+
style: |
359+
.title-card-header {
360+
flex-direction: row-reverse !important;
361+
padding: 0.8em 0 !important;
362+
}
363+
```
364+
365+
355366
Transitioning the title font size and color. Here the `!important` on `close`/`closing` is to make sure that the font size and color both change on `closing` as `open` will still be added until fully closed at which stage `close` will be added and `open` removed.
356367

357368
```yaml

0 commit comments

Comments
 (0)