Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 4f99313

Browse files
feat: slide title align center
1 parent 577590d commit 4f99313

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DeckDeckGo
22

3-
Add a lightweight presentation to your web project using HTML and Web Components.
3+
Create a lightweight presentation using HTML and Web Components.
44

55
[DeckDeckGo] is build with [Stencil](https://stenciljs.com) and could be use in any modern framework or even without any.
66

src/components/slides/deckdeckgo-slide-title/deckdeckgo-slide-title.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ div.deckgo-slide {
55
align-items: center;
66
justify-content: center;
77
}
8+
9+
::slotted([slot="title"]), ::slotted([slot="content"]) {
10+
text-align: center;
11+
}

0 commit comments

Comments
 (0)