Skip to content

Commit 71aa2d8

Browse files
committed
Merge branch 'rails-8-getting-started-guide' of github.com:jathayde/rails into rails-8-getting-started-guide
2 parents c2770c7 + 32e6b10 commit 71aa2d8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

guides/assets/stylesrc/components/_code-container.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ dl dd .interstitial {
4545
direction: ltr !important;
4646
text-align: left !important;
4747

48-
pre {margin: 0;}
48+
pre {
49+
margin: 0;
50+
overflow: visible; // allows for the blue highlight to be seen
51+
}
4952

5053
button.clipboard-button {
5154
color: $gray-100;

guides/assets/stylesrc/highlight.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
&.console,
6464
&.erb,
6565
&.html { color: #fff; }
66-
.hll { background-color: #3a3939; border-left: 3px solid #00F0FF;} /* $gray-700, $tip */
66+
.hll { background-color: #3a3939; border-left: 3px solid #00F0FF; margin-left: -5px; padding-left: 5px; padding-right: 5px;} /* $gray-700, $tip */
6767
.c { color: #b4b4b3; } /* Comment */
6868
.err { color: #ff0088; background-color: #1e0010 } /* Error */
6969
.k { color: #9decfc; } /* Keyword */

0 commit comments

Comments
 (0)