Skip to content

Commit 532d7a8

Browse files
Update based on PR issue
1 parent 7a9441b commit 532d7a8

File tree

1 file changed

+30
-31
lines changed

1 file changed

+30
-31
lines changed

src/utils/transclude-directive.js

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,38 +18,37 @@
1818
*
1919
* @example
2020
<example module="patternfly.utils">
21+
<file name="example.css">
22+
.pf-transclude-example div {
23+
border: 1px solid #337ab7;
24+
margin-bottom: 20px;
25+
margin-left: 20px;
26+
}
27+
28+
.pf-transclude-example p {
29+
background-color: #337ab7;
30+
margin: 0;
31+
padding: 5px 10px;
32+
}
33+
34+
.pf-transclude-example id {
35+
display: inline-block;
36+
background-color: #def3ff;
37+
color: #000000;
38+
border-radius: 10px;
39+
width: 20px;
40+
height: 20px;
41+
text-align: center;
42+
line-height: 20px;
43+
margin-left: 5px;
44+
}
45+
46+
.pf-transclude-example pre {
47+
padding: 5px;
48+
border-width: 0px;
49+
}
50+
</file>
2151
<file name="index.html">
22-
<style>
23-
24-
.pf-transclude-example div {
25-
border: 1px solid #337ab7;
26-
margin-bottom: 20px;
27-
margin-left: 20px;
28-
}
29-
30-
.pf-transclude-example p {
31-
background-color: #337ab7;
32-
margin: 0;
33-
padding: 5px 10px;
34-
}
35-
36-
.pf-transclude-example id {
37-
display: inline-block;
38-
background-color: #def3ff;
39-
color: #000000;
40-
border-radius: 10px;
41-
width: 20px;
42-
height: 20px;
43-
text-align: center;
44-
line-height: 20px;
45-
margin-left: 5px;
46-
}
47-
48-
.pf-transclude-example pre {
49-
padding: 5px;
50-
border-width: 0px;
51-
}
52-
</style>
5352
<div ng-controller="UtilCtrl" class="row pf-transclude-example" style="display:inline-block; width: 100%;">
5453
<span>Here the scope id is: <id>{{$id}}</id></span>
5554

0 commit comments

Comments
 (0)