mirror of
https://github.com/tommyxchow/frosty.git
synced 2025-05-18 15:06:24 +08:00
Update markdown style sheet
This commit is contained in:
@ -34,10 +34,7 @@ class _ReleaseNotesState extends State<ReleaseNotes> {
|
|||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('Release notes'),
|
title: const Text('Release notes'),
|
||||||
),
|
),
|
||||||
body: Column(
|
body: Markdown(
|
||||||
children: [
|
|
||||||
Expanded(
|
|
||||||
child: Markdown(
|
|
||||||
data: releaseNotes,
|
data: releaseNotes,
|
||||||
styleSheet: MarkdownStyleSheet(
|
styleSheet: MarkdownStyleSheet(
|
||||||
h2: const TextStyle(fontSize: 20),
|
h2: const TextStyle(fontSize: 20),
|
||||||
@ -46,6 +43,14 @@ class _ReleaseNotesState extends State<ReleaseNotes> {
|
|||||||
h4: const TextStyle(fontSize: 14),
|
h4: const TextStyle(fontSize: 14),
|
||||||
h4Padding: const EdgeInsets.only(top: 16),
|
h4Padding: const EdgeInsets.only(top: 16),
|
||||||
p: const TextStyle(fontSize: 14),
|
p: const TextStyle(fontSize: 14),
|
||||||
|
horizontalRuleDecoration: const BoxDecoration(
|
||||||
|
border: Border(
|
||||||
|
top: BorderSide(
|
||||||
|
color: Colors.transparent,
|
||||||
|
width: 32,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onTapLink: (text, href, title) {
|
onTapLink: (text, href, title) {
|
||||||
if (href != null) {
|
if (href != null) {
|
||||||
@ -58,9 +63,6 @@ class _ReleaseNotesState extends State<ReleaseNotes> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user