15
15
>
16
16
<component
17
17
:is =" isTargetIDE ? 'div' : 'main'"
18
- class =" main" id =" main"
18
+ class =" main" id =" app- main"
19
19
>
20
20
<DocumentationHero
21
21
:role =" role"
129
129
:source =" remoteSource"
130
130
:sections =" primaryContentSectionsSanitized"
131
131
/>
132
- <ViewMore v-if =" shouldShowViewMoreLink" :url =" viewMoreLink" />
133
132
</div >
134
133
<Topics
135
134
v-if =" shouldRenderTopicSection"
145
144
:isSymbolBeta =" isSymbolBeta"
146
145
/>
147
146
<Relationships
148
- v-if =" relationshipsSections && !enableMinimized "
147
+ v-if =" relationshipsSections"
149
148
:sections =" relationshipsSections"
149
+ :enableMinimized =" enableMinimized"
150
150
/>
151
151
<!-- NOTE: see also may contain information about other apis, so we cannot
152
152
pass deprecation and beta information -->
153
153
<SeeAlso
154
154
v-if =" seeAlsoSections && !enableMinimized"
155
155
:sections =" seeAlsoSections"
156
156
/>
157
+ <ViewMore
158
+ v-if =" shouldShowViewMoreLink"
159
+ :url =" viewMoreLink"
160
+ class =" minimized-container"
161
+ />
157
162
</div >
158
163
<template v-if =" enableOnThisPageNav " >
159
164
<OnThisPageStickyContainer v-show =" isOnThisPageNavVisible" >
@@ -778,7 +783,7 @@ $space-size: 15px;
778
783
}
779
784
}
780
785
781
- #main {
786
+ #app - main {
782
787
outline- style: none;
783
788
height: 100 % ;
784
789
@@ -831,6 +836,11 @@ $space-size: 15px;
831
836
-- aside- border- radius: 6px ;
832
837
-- code- border- radius: 6px ;
833
838
839
+ & : not (.declarations - container ) {
840
+ padding- left: 1 .4rem ;
841
+ padding- right: 1 .4rem ;
842
+ }
843
+
834
844
.description {
835
845
margin- bottom: 1 .5em ;
836
846
}
@@ -904,11 +914,6 @@ $space-size: 15px;
904
914
}
905
915
}
906
916
907
- .full - width- container .doc - content .minimized - container {
908
- padding- left: 1 .4rem ;
909
- padding- right: 1 .4rem ;
910
- }
911
-
912
917
: deep () {
913
918
.no - primary- content {
914
919
// remove border-top for first section of the page
@@ -952,7 +957,7 @@ $space-size: 15px;
952
957
min- width: 0 ;
953
958
width: 100 % ;
954
959
955
- // only render border on declaration list menu
960
+ // only render border and bottom margin on declaration list menu
956
961
// when there are no content sections afterwards at all
957
962
.container : only- child {
958
963
.declaration - list- menu: last- child:: before {
@@ -961,6 +966,7 @@ $space-size: 15px;
961
966
border- top- width: var (-- content- table- title- border- width, 1px );
962
967
content: ' ' ;
963
968
display: block;
969
+ margin- bottom: $section- spacing- single- side;
964
970
}
965
971
}
966
972
0 commit comments