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

Lines changed: 1 addition & 1 deletion
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",
-1.86 KB
Loading

res/css/views/rooms/_EventTile.pcss

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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");

0 commit comments

Comments
 (0)