Skip to content

Commit 55116d3

Browse files
Fixed significant styling issue
1 parent ca05b17 commit 55116d3

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

guides/assets/stylesrc/_dark.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@
219219
} // #feature
220220

221221
.interstitial {
222-
display: flex;
223-
align-items: center;
224222
&.code {
225223
background-color: $gray-900;
226224
border: 1px solid $gray-800 !important;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ intermediate whitespace looks uniform. */
1010

1111
.interstitial,
1212
dl dd .interstitial {
13+
display: flex;
14+
align-items: center;
1315
background-repeat: no-repeat;
1416
background-size: 36px 36px;
1517
border-radius: $base-border-radius;

guides/assets/stylesrc/print.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@
146146
}
147147

148148
.interstitial {
149-
display: flex;
150-
align-items: center;
151149
background-repeat: no-repeat !important;
152150
background-size: 36px 36px !important;
153151
background-position: 10px 10px !important;

guides/source/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<dl>
1111
<dt></dt>
1212
<% unless @edge -%>
13-
<dd class="interstitial info kindle">Rails Guides are also available for <%= link_to 'Kindle', @epub %>.</dd>
13+
<dd class="interstitial info kindle"><p>Rails Guides are also available for <%= link_to 'Kindle', @epub %>.</p></dd>
1414
<% end -%>
1515
<dd class="interstitial work-in-progress">Guides marked with this icon are currently being worked on and will not be available in the Guides Index menu. While still useful, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections.</dd>
1616
</dl>

0 commit comments

Comments
 (0)