File tree 2 files changed +8
-1
lines changed
components/DocumentationTopic/Hero
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ export default {
34
34
@import 'docc-render/styles/_core.scss';
35
35
36
36
.topictitle {
37
+ margin-bottom: rem(12px);
38
+
39
+ &:last-child {
40
+ margin-bottom: 0;
41
+ }
42
+
37
43
@include breakpoint(small) {
38
44
margin: 0;
39
45
}
@@ -51,7 +57,6 @@ export default {
51
57
@include font-styles(headline-reduced);
52
58
color: var(--color-documentation-intro-title,
53
59
var(--colors-header-text, var(--color-header-text)));
54
- margin-bottom: rem(12px);
55
60
}
56
61
57
62
small {
Original file line number Diff line number Diff line change 27
27
<Topic
28
28
v-bind="topicProps"
29
29
:key="topicKey"
30
+ :disableHeroBackground="disableHeroBackground"
30
31
:objcPath="objcPath"
31
32
:swiftPath="swiftPath"
32
33
:isSymbolDeprecated="isSymbolDeprecated"
@@ -93,6 +94,7 @@ export default {
93
94
};
94
95
},
95
96
computed: {
97
+ disableHeroBackground: () => false,
96
98
documentationLayoutProps: ({
97
99
topicProps: {
98
100
diffAvailability,
You can’t perform that action at this time.
0 commit comments