Skip to content

Commit 02ec5cc

Browse files
AppFooter: Update placeholders in examples to remove inline styles (#2079)
1 parent 8037807 commit 02ec5cc

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

website/app/styles/pages/components/app-footer.scss

+5
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
width: 100%;
1919
outline: 1px dashed #ccc;
2020
}
21+
22+
.doc-app-footer-demo-placeholder {
23+
color: #636363;
24+
background: #ffd6d6;
25+
}
2126
}

website/docs/components/app-footer/partials/code/how-to-use.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ Custom content can be added either before or after the `AppFooter` main content.
5959
```handlebars
6060
<Hds::AppFooter as |AF|>
6161
<AF.ExtraBefore>
62-
<Doc::Placeholder @text="Extra Content Before" @height="2em" {{style width="fit-content" color="#636363" background="#ffd6d6"}} />
62+
<Doc::Placeholder @text="Extra Content Before" @height="2em" @width="fit-content" class="doc-app-footer-demo-placeholder" />
6363
</AF.ExtraBefore>
6464
<AF.LegalLinks />
6565
<AF.ExtraAfter>
66-
<Doc::Placeholder @text="Extra Content After" @height="2em" {{style width="fit-content" color="#636363" background="#ffd6d6"}} />
66+
<Doc::Placeholder @text="Extra Content After" @height="2em" @width="fit-content" class="doc-app-footer-demo-placeholder" />
6767
</AF.ExtraAfter>
6868
</Hds::AppFooter>
6969
```
@@ -76,13 +76,13 @@ Add your own styles to customize the layout of the extra content areas.
7676
<Hds::AppFooter as |AF|>
7777
<AF.ExtraBefore>
7878
<div class="doc-app-footer-demo-custom-content-layout">
79-
<Doc::Placeholder @text="Extra Content Before" @height="2em" {{style width="fit-content" color="#636363" background="#ffd6d6"}} />
79+
<Doc::Placeholder @text="Extra Content Before" @height="2em" @width="fit-content" class="doc-app-footer-demo-placeholder" />
8080
</div>
8181
</AF.ExtraBefore>
8282
<AF.LegalLinks />
8383
<AF.ExtraAfter>
8484
<div class="doc-app-footer-demo-custom-content-layout">
85-
<Doc::Placeholder @text="Extra Content After" @height="2em" {{style width="fit-content" color="#636363" background="#ffd6d6"}} />
85+
<Doc::Placeholder @text="Extra Content After" @height="2em" @width="fit-content" class="doc-app-footer-demo-placeholder" />
8686
</div>
8787
</AF.ExtraAfter>
8888
</Hds::AppFooter>

0 commit comments

Comments
 (0)