Skip to content

Commit 7ba70ad

Browse files
committed
fix examples
1 parent 1f64127 commit 7ba70ad

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2626
- Type selectors can now contain numbers https://github.com/Textualize/textual/issues/1253
2727
- Fixed visibility not affecting children https://github.com/Textualize/textual/issues/1313
2828
- Fixed issue with auto width/height and relative children https://github.com/Textualize/textual/issues/1319
29+
- Fixed issue with offset applied to containers https://github.com/Textualize/textual/issues/1256
2930

3031
## [0.5.0] - 2022-11-20
3132

docs/examples/guide/layout/combining_layouts.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,22 @@
55
grid-rows: 1fr;
66
}
77

8-
#left-pane > Static {
8+
#left-pane > Static {
99
background: $boost;
1010
color: auto;
1111
margin-bottom: 1;
1212
padding: 1;
1313
}
1414

1515
#left-pane {
16+
height: 100%;
1617
row-span: 2;
1718
background: $panel;
1819
border: dodgerblue;
1920
}
2021

2122
#top-right {
23+
height: 100%;
2224
background: $panel;
2325
border: mediumvioletred;
2426
}
@@ -31,6 +33,7 @@
3133
}
3234

3335
#bottom-right {
36+
height: 100%;
3437
layout: grid;
3538
grid-size: 3;
3639
grid-columns: 1fr;

examples/calculator.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Screen {
1111
margin: 1 2;
1212
min-height: 25;
1313
min-width: 26;
14+
height: 100%;
1415
}
1516

1617
Button {

0 commit comments

Comments
 (0)