Skip to content

Commit 4dbae54

Browse files
committed
Contentful docs update
1 parent 19d2d79 commit 4dbae54

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/contentful/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ For introduction into Contentful-related development look into
1212
### End-User Documentation
1313

1414
- [Custom inline components in Markdown fields](./custom-inline-components-in-markdown-fields.md)
15+
- [Miscellaneous CSS Solutions](./miscellaneous-CSS-solutions.md)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Miscellaneous CSS Solutions
2+
3+
## Align Button To Bottom of Cards
4+
Example: https://community-app.topcoder.com/examples/contentful/viewport/4fr7QZfF2qh9PWEhtBmOZ3
5+
6+
The containing viewport uses `Row with Max-Width` theme. Each `contentBlocks` inside it are extended with following CSS:
7+
8+
Content-Wrapper
9+
```
10+
{
11+
"height": "100%"
12+
}
13+
```
14+
15+
Content
16+
```
17+
{
18+
"display": "flex",
19+
"flex-direction": "column",
20+
"justify-content": "space-between",
21+
"flex": "auto"
22+
}
23+
```

0 commit comments

Comments
 (0)