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

Commit 4040511

Browse files
style: display element closer to their use
1 parent 2dbdf13 commit 4040511

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

studio/src/app/popovers/editor/app-slide-type/app-slide-type.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ app-slide-type {
2929
deckgo-slide-title {
3030
--slide-padding-top: 4px;
3131
--slide-padding-end: 4px;
32+
33+
h1 {
34+
margin-top: 22px;
35+
}
36+
37+
p {
38+
min-height: 36px;
39+
}
3240
}
3341

3442
deckgo-slide-content {

studio/src/app/popovers/editor/app-slide-type/app-slide-type.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ export class AppSlideType {
6868
</div>
6969
<div class="item" custom-tappable onClick={() => this.closePopover(SlideTemplate.GIF)}>
7070
<deckgo-slide-gif src="/assets/img/example.gif" alt="Slide Gif">
71-
<p slot="footer" style={{"font-size": "var(--font-size-very-small)", padding: "2px", "border-radius": "4px"}}>GIFs</p>
71+
<p slot="header" style={{"font-size": "var(--font-size-very-small)", padding: "2px", "border-radius": "4px"}}>Gif with header</p>
72+
<p slot="footer" style={{"font-size": "var(--font-size-very-small)", padding: "2px", "border-radius": "4px"}}>and footer</p>
7273
</deckgo-slide-gif>
7374
</div>
7475
</div>

0 commit comments

Comments
 (0)