Skip to content

Commit 5737e20

Browse files
authored
Merge pull request #58 from refactor-group/57-bug-code-block-styling-isnt-working
Restores the code block style functionality for coaching Notes
2 parents 60fd0af + fed71fe commit 5737e20

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

src/styles/code-block.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import "tailwindcss/base";
2-
@import "tailwindcss/components";
3-
@import "tailwindcss/utilities";
1+
@use "tailwindcss/base" as *;
2+
@use "tailwindcss/components" as *;
3+
@use "tailwindcss/utilities" as *;
44

55
.tiptap {
66
.code-block {

src/styles/styles.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
@import "tailwindcss/base";
2-
@import "tailwindcss/components";
3-
@import "tailwindcss/utilities";
4-
5-
// Your custom SCSS styles here
1+
@use "tailwindcss/base" as *;
2+
@use "tailwindcss/components" as *;
3+
@use "tailwindcss/utilities" as *;
64

75
/* Basic TipTap editor styles */
86
.tiptap {
97
:first-child {
108
margin-top: 0;
119
}
1210

13-
14-
1511
/* List styles */
1612
ul,
1713
ol {

0 commit comments

Comments
 (0)