We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57a03bb + 14d6409 commit c6ed562Copy full SHA for c6ed562
tests/dummy/app/components/code-snippet/template.hbs
@@ -1 +1,5 @@
1
-<CodeBlock @code={{this.snippet.source}} @language={{this.language}} />
+<CodeBlock
2
+ @code={{this.snippet.source}}
3
+ @language={{this.language}}
4
+ class="code-snippet"
5
+/>
tests/dummy/app/styles/app.scss
@@ -201,9 +201,15 @@ th, td {
201
color: #bbb;
202
}
203
204
+.code-snippet {
205
+ border: none;
206
+ margin: 0;
207
+ padding: 0 .5rem;
208
+}
209
+
210
.code-template-toggle {
211
position: relative;
- background-color: #f8f8f8;
212
+ background-color: #f5f2f0;
213
pre {
214
margin: 0 !important;
215
0 commit comments