Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 8c49f3f

Browse files
authored
Update gfm.css to github-markdown-css (#12613)
* Update gfm.css to github-markdown-css Signed-off-by: Michael Telatynski <[email protected]> * Update screenshots Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]>
1 parent 24e3e08 commit 8c49f3f

File tree

12 files changed

+14
-7
lines changed

12 files changed

+14
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"escape-html": "^1.0.3",
9494
"file-saver": "^2.0.5",
9595
"filesize": "10.1.2",
96-
"gfm.css": "^1.1.2",
96+
"github-markdown-css": "^5.5.1",
9797
"glob-to-regexp": "^0.4.1",
9898
"graphemer": "^1.4.0",
9999
"highlight.js": "^11.3.1",
Loading

res/css/views/rooms/_EventTile.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ $left-gutter: 64px;
701701
background-color: $inlinecode-background-color;
702702
border: 1px solid $inlinecode-border-color;
703703
border-radius: 4px;
704-
/* The horizontal padding is added by gfm.css .markdown-body */
704+
/* The horizontal padding is added by github-markdown-css .markdown-body */
705705
padding: $spacing-2 0;
706706
/* Avoid inline code blocks to be sticked when on multiple lines */
707707
line-height: $font-22px;

res/css/views/rooms/_MessageComposer.pcss

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ limitations under the License.
163163
word-break: break-word;
164164

165165
/* FIXME: rather unpleasant hack to get rid of <p/> margins. */
166-
/* really we should be mixing in markdown-body from gfm.css instead */
166+
/* really we should be mixing in markdown-body from github-markdown-css instead */
167167
> :first-child {
168168
margin-top: 0 !important;
169169
}

res/themes/dark-custom/css/dark-custom.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
@import "../../legacy-dark/css/_legacy-dark.pcss";
66
@import "../../light-custom/css/_custom.pcss";
77
@import "../../../../res/css/_components.pcss";
8+
@import url("github-markdown-css/github-markdown-dark.css");

res/themes/dark/css/dark.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
@import "../../light/css/_mods.pcss";
77
@import "../../../../res/css/_components.pcss";
88
@import url("highlight.js/styles/atom-one-dark.min.css");
9+
@import url("github-markdown-css/github-markdown-dark.css");

res/themes/legacy-dark/css/legacy-dark.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
@import "_legacy-dark.pcss";
66
@import "../../../../res/css/_components.pcss";
77
@import url("highlight.js/styles/atom-one-dark.min.css");
8+
@import url("github-markdown-css/github-markdown-dark.css");

res/themes/legacy-light/css/legacy-light.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
@import "_legacy-light.pcss";
55
@import "../../../../res/css/_components.pcss";
66
@import url("highlight.js/styles/atom-one-light.min.css");
7+
@import url("github-markdown-css/github-markdown-light.css");

res/themes/light-custom/css/light-custom.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
@import "../../legacy-light/css/_legacy-light.pcss";
55
@import "_custom.pcss";
66
@import "../../../../res/css/_components.pcss";
7+
@import url("github-markdown-css/github-markdown-light.css");

res/themes/light-high-contrast/css/light-high-contrast.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
@import "../../light/css/_mods.pcss";
77
@import "../../../../res/css/_components.pcss";
88
@import url("highlight.js/styles/atom-one-light.min.css");
9+
@import url("github-markdown-css/github-markdown-light.css");

res/themes/light/css/light.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
@import "_mods.pcss";
66
@import "../../../../res/css/_components.pcss";
77
@import url("highlight.js/styles/atom-one-light.min.css");
8+
@import url("github-markdown-css/github-markdown-light.css");

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -5683,10 +5683,10 @@ get-symbol-description@^1.0.0, get-symbol-description@^1.0.2:
56835683
es-errors "^1.3.0"
56845684
get-intrinsic "^1.2.4"
56855685

5686-
gfm.css@^1.1.2:
5687-
version "1.1.2"
5688-
resolved "https://registry.yarnpkg.com/gfm.css/-/gfm.css-1.1.2.tgz#94acfa600672663b9dd0fd4b6ee5d11c8dbc161e"
5689-
integrity sha512-KhK3rqxMj+UTLRxWnfUA5n8XZYMWfHrrcCxtWResYR2B3hWIqBM6v9FPGZSlVuX+ScLewizOvNkjYXuPs95ThQ==
5686+
github-markdown-css@^5.5.1:
5687+
version "5.5.1"
5688+
resolved "https://registry.yarnpkg.com/github-markdown-css/-/github-markdown-css-5.5.1.tgz#c2a609ca0b067552c8bfc09e797ace20d614f515"
5689+
integrity sha512-2osyhNgFt7DEHnGHbgIifWawAqlc68gjJiGwO1xNw/S48jivj8kVaocsVkyJqUi3fm7fdYIDi4C6yOtcqR/aEQ==
56905690

56915691
gl-matrix@^3.4.3:
56925692
version "3.4.3"

0 commit comments

Comments
 (0)