File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ const sidebars = {
153
153
{
154
154
type : 'category' ,
155
155
label : 'Stately Sky' ,
156
+ className : 'pro-feature' ,
156
157
link : {
157
158
type : 'doc' ,
158
159
id : 'stately-sky-getting-started' ,
@@ -162,7 +163,6 @@ const sidebars = {
162
163
type : 'doc' ,
163
164
label : 'Getting started' ,
164
165
id : 'stately-sky-getting-started' ,
165
- className : 'pro-feature' ,
166
166
} ,
167
167
] ,
168
168
} ,
Original file line number Diff line number Diff line change @@ -1230,7 +1230,8 @@ html [class*='toggleButton'] {
1230
1230
1231
1231
/* Add a pro badge to menu items with the pro-feature classname */
1232
1232
1233
- .menu__list-item .pro-feature a : after {
1233
+ .menu__list-item .pro-feature > a : after ,
1234
+ .menu__list-item .pro-feature > div > a : after {
1234
1235
background-color : var (--st-orange-500 );
1235
1236
border-radius : 0.3rem ;
1236
1237
content : 'Pro' ;
@@ -1241,11 +1242,12 @@ html [class*='toggleButton'] {
1241
1242
margin-left : 0.45rem ;
1242
1243
padding : 0 0.3rem ;
1243
1244
text-transform : uppercase;
1245
+ transform : rotateZ (0deg );
1244
1246
}
1245
1247
1246
1248
/* Add a free badge to menu items with the pro-feature classname */
1247
-
1248
- .menu__list-item .community-feature a : after {
1249
+ . menu__list-item . community-feature > a : after ,
1250
+ .menu__list-item .community-feature > div > a : after {
1249
1251
background-color : var (--st-blue-500 );
1250
1252
border-radius : 0.3rem ;
1251
1253
content : 'Free' ;
@@ -1255,6 +1257,7 @@ html [class*='toggleButton'] {
1255
1257
margin-top : 0.1rem ;
1256
1258
margin-left : 0.45rem ;
1257
1259
padding : 0 0.3rem ;
1260
+ transform : rotateZ (0deg );
1258
1261
text-transform : uppercase;
1259
1262
}
1260
1263
You can’t perform that action at this time.
0 commit comments