diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr b/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
index 01de5b3e8..088f6aba7 100644
--- a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
+++ b/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
@@ -10836,162 +10836,163 @@
font-weight: 700;
}
- .terminal-2139170380-matrix {
+ .terminal-1429392340-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
- .terminal-2139170380-title {
+ .terminal-1429392340-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
- .terminal-2139170380-r1 { fill: #c5c8c6 }
- .terminal-2139170380-r2 { fill: #e3e3e3 }
- .terminal-2139170380-r3 { fill: #313437 }
- .terminal-2139170380-r4 { fill: #324f70 }
- .terminal-2139170380-r5 { fill: #4f9262 }
- .terminal-2139170380-r6 { fill: #a4823a }
- .terminal-2139170380-r7 { fill: #904354 }
- .terminal-2139170380-r8 { fill: #7c7d7e;font-weight: bold }
- .terminal-2139170380-r9 { fill: #75828b;font-weight: bold }
- .terminal-2139170380-r10 { fill: #192e1f;font-weight: bold }
- .terminal-2139170380-r11 { fill: #3a2a13;font-weight: bold }
- .terminal-2139170380-r12 { fill: #978186;font-weight: bold }
- .terminal-2139170380-r13 { fill: #101011 }
- .terminal-2139170380-r14 { fill: #0c1e39 }
- .terminal-2139170380-r15 { fill: #156034 }
- .terminal-2139170380-r16 { fill: #825210 }
- .terminal-2139170380-r17 { fill: #5b132a }
- .terminal-2139170380-r18 { fill: #7b7b7b }
- .terminal-2139170380-r19 { fill: #e1e1e1 }
- .terminal-2139170380-r20 { fill: #3a2a13 }
- .terminal-2139170380-r21 { fill: #78838b }
- .terminal-2139170380-r22 { fill: #7f8081 }
- .terminal-2139170380-r23 { fill: #7c7d7e }
- .terminal-2139170380-r24 { fill: #31220c;font-weight: bold }
- .terminal-2139170380-r25 { fill: #e2e3e3 }
- .terminal-2139170380-r26 { fill: #104e2d }
- .terminal-2139170380-r27 { fill: #7a7b7b }
- .terminal-2139170380-r28 { fill: #1c1c1c }
- .terminal-2139170380-r29 { fill: #191919 }
- .terminal-2139170380-r30 { fill: #181818 }
- .terminal-2139170380-r31 { fill: #7c7c7c }
- .terminal-2139170380-r32 { fill: #494949 }
- .terminal-2139170380-r33 { fill: #ddedf9 }
+ .terminal-1429392340-r1 { fill: #c5c8c6 }
+ .terminal-1429392340-r2 { fill: #e3e3e3 }
+ .terminal-1429392340-r3 { fill: #313437 }
+ .terminal-1429392340-r4 { fill: #324f70 }
+ .terminal-1429392340-r5 { fill: #4f9262 }
+ .terminal-1429392340-r6 { fill: #a4823a }
+ .terminal-1429392340-r7 { fill: #904354 }
+ .terminal-1429392340-r8 { fill: #e1e1e1 }
+ .terminal-1429392340-r9 { fill: #7c7d7e;font-weight: bold }
+ .terminal-1429392340-r10 { fill: #75828b;font-weight: bold }
+ .terminal-1429392340-r11 { fill: #192e1f;font-weight: bold }
+ .terminal-1429392340-r12 { fill: #3a2a13;font-weight: bold }
+ .terminal-1429392340-r13 { fill: #978186;font-weight: bold }
+ .terminal-1429392340-r14 { fill: #101011 }
+ .terminal-1429392340-r15 { fill: #0c1e39 }
+ .terminal-1429392340-r16 { fill: #156034 }
+ .terminal-1429392340-r17 { fill: #825210 }
+ .terminal-1429392340-r18 { fill: #5b132a }
+ .terminal-1429392340-r19 { fill: #7b7b7b }
+ .terminal-1429392340-r20 { fill: #3a2a13 }
+ .terminal-1429392340-r21 { fill: #78838b }
+ .terminal-1429392340-r22 { fill: #7f8081 }
+ .terminal-1429392340-r23 { fill: #7c7d7e }
+ .terminal-1429392340-r24 { fill: #31220c;font-weight: bold }
+ .terminal-1429392340-r25 { fill: #e2e3e3 }
+ .terminal-1429392340-r26 { fill: #104e2d }
+ .terminal-1429392340-r27 { fill: #7a7b7b }
+ .terminal-1429392340-r28 { fill: #1c1c1c }
+ .terminal-1429392340-r29 { fill: #191919 }
+ .terminal-1429392340-r30 { fill: #181818 }
+ .terminal-1429392340-r31 { fill: #7c7c7c }
+ .terminal-1429392340-r32 { fill: #494949 }
+ .terminal-1429392340-r33 { fill: #14191f }
+ .terminal-1429392340-r34 { fill: #ddedf9 }
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- WidgetDisableTestApp
+ WidgetDisableTestApp
-
-
-
- ⭘WidgetDisableTestApp
- ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- ButtonButtonButtonButtonButton
- ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
- Column 1 Column 2 Column 3 Column 4
- 0 0 0 0
- This is list item 0
- This is list item 1
- ▼ This is a test tree
- ├── Leaf 0
- Hello, World!
-
- ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
- ▊▎
- ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
- ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
- ▊This is an empty input with a placeholder▎
- ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
- ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
- ▊This is some text in an input▎
- ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
-
-
+
+
+
+ ⭘WidgetDisableTestApp
+ ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
+ ButtonButtonButtonButtonButton
+ ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
+ Column 1 Column 2 Column 3 Column 4
+ 0 0 0 0
+ This is list item 0
+ This is list item 1
+ ▼ This is a test tree
+ ├── Leaf 0
+ Hello, World!
+
+ ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
+ ▊▎
+ ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
+ ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
+ ▊This is an empty input with a placeholder▎
+ ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
+ ▊▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▎
+ ▊This is some text in an input▎
+ ▊▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▎
+ ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
+ ▇▇
diff --git a/tests/snapshot_tests/snapshot_apps/disable_widgets.py b/tests/snapshot_tests/snapshot_apps/disable_widgets.py
index 321e94f7b..7a241e914 100644
--- a/tests/snapshot_tests/snapshot_apps/disable_widgets.py
+++ b/tests/snapshot_tests/snapshot_apps/disable_widgets.py
@@ -9,6 +9,8 @@ from textual.widgets import (
ListView,
ListItem,
Label,
+ Markdown,
+ MarkdownViewer,
Tree,
TextLog,
)
@@ -23,6 +25,10 @@ class WidgetDisableTestApp(App[None]):
DataTable, ListView, Tree, TextLog {
height: 2;
}
+
+ Markdown, MarkdownViewer {
+ height: 1fr;
+ }
"""
@property
@@ -63,6 +69,8 @@ class WidgetDisableTestApp(App[None]):
Input(),
Input(placeholder="This is an empty input with a placeholder"),
Input("This is some text in an input"),
+ Markdown("# Hello, World!"),
+ MarkdownViewer("# Hello, World!"),
id="test-container",
)
yield Footer()