Skip to content

Commit 5f099e8

Browse files
committed
Set code:before/after content to empty string
1 parent 6254f1a commit 5f099e8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

template.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,12 @@
139139
overflowX: 'auto',
140140
color: theme('colors.gray.800'),
141141
border: '1px solid ' + theme('colors.gray.200'),
142-
boxShadow: '0 2px 5px rgba(0,0,0,0.03)',
143-
content: ''
142+
boxShadow: '0 2px 5px rgba(0,0,0,0.03)'
144143
},
145144
'pre code': {
146145
backgroundColor: 'transparent',
147146
border: 'none',
148-
padding: '0',
149-
content: ''
147+
padding: '0'
150148
},
151149
'ul > li::marker': { color: theme('colors.blue.500') },
152150
'ol > li::marker': { color: theme('colors.gray.600') },
@@ -205,6 +203,12 @@
205203
</script>
206204

207205
<style>
206+
.prose code::before {
207+
content: "";
208+
}
209+
.prose code::after {
210+
content: "";
211+
}
208212
.copy-button {
209213
position: absolute;
210214
top: 0.5rem;

0 commit comments

Comments
 (0)