Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 7e26a3e

Browse files
committed
Remove padding from .sg-pattern, removed old CSS from style guide,
1 parent c2f3808 commit 7e26a3e

File tree

4 files changed

+4
-22
lines changed

4 files changed

+4
-22
lines changed

public/styleguide/css/styleguide.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@
157157
top: 2em;
158158
left: 0; } }
159159

160-
.sg-nav-Pages ol {
161-
width: 24em; }
162-
.sg-nav-Pages li {
163-
float: left;
164-
width: 50%; }
165-
166160
/* Accordion */
167161
.sg-acc-handle:after {
168162
content: ' +';
@@ -404,7 +398,6 @@
404398
/* Section Pattern */
405399
.sg-pattern {
406400
margin-bottom: 2em;
407-
padding: 0 1em;
408401
overflow: hidden; }
409402

410403
/* Section Head */

public/styleguide/css/styleguide.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,6 @@ $animate-quick: 0.2s;
250250
}
251251
}
252252

253-
.sg-nav-Pages {
254-
ol {
255-
width: 24em;
256-
}
257-
li {
258-
float: left;
259-
width: 50%;
260-
}
261-
}
262-
263253
/* Accordion */
264254
.sg-acc-handle {
265255
&:after {
@@ -596,7 +586,6 @@ $animate-quick: 0.2s;
596586
/* Section Pattern */
597587
.sg-pattern {
598588
margin-bottom: $sg-doublespace;
599-
padding: 0 $sg-pad;
600589
overflow: hidden;
601590
}
602591

source/_patternlab-files/styleguide.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="sg-main" role="main">
1414

1515
<!-- Patterns -->
16-
<div id="patterns">
16+
<div id="sg-patterns">
1717
{{# partials }}
1818
<div class="sg-pattern">
1919
<h2 class="sg-pattern-head" ><a href="../../patterns/{{ patternLink }}" class="patternLink" data-patternpartial="{{ patternPartialPath }}">{{ patternName }}</a></h2>
@@ -22,7 +22,7 @@
2222
</div>
2323
</div>
2424
{{/ partials }}
25-
</div> <!--end #patterns-->
25+
</div> <!--end #sg-patterns-->
2626

2727
</div><!--End Style Guide Main Content-->
2828

source/_patternlab-files/viewall.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="sg-main" role="main">
1414

1515
<!-- Patterns -->
16-
<div id="patterns">
16+
<div id="sg-patterns">
1717
{{# partials }}
1818
<div class="sg-pattern">
1919
<h2 class="sg-pattern-head" ><a href="../../patterns/{{ patternLink }}" class="patternLink" data-patternpartial="{{ patternPartialPath }}">{{ patternName }}</a></h2>
@@ -22,7 +22,7 @@
2222
</div>
2323
</div>
2424
{{/ partials }}
25-
</div> <!--end #patterns-->
25+
</div> <!--end #sg-patterns-->
2626

2727
</div><!--end .sg-main-->
2828

0 commit comments

Comments
 (0)