Commit 646d8d4 1 parent 0eb4c1e commit 646d8d4 Copy full SHA for 646d8d4
File tree 5 files changed +5
-5
lines changed
packages/create-sitecore-jss/src/templates/react
Styleguide-FieldUsage-Link
Styleguide-FieldUsage-Text
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ placeholders:
99
99
href : https://dev.sitecore.net
100
100
text : Sitecore Dev Site
101
101
target : _blank
102
- class : font-weight -bold
102
+ class : fw -bold
103
103
title : <a> title attribute
104
104
- componentName : Styleguide-FieldUsage-ItemLink
105
105
fields :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import logo from './assets/sc_logo.svg';
23
23
// Most apps may also wish to use GraphQL for their navigation construction; this sample does not simply to support disconnected mode.
24
24
let Navigation = ( { t, i18n } ) => (
25
25
< div className = "d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom" >
26
- < h5 className = "my-0 me-md-auto font-weight -normal" >
26
+ < h5 className = "my-0 me-md-auto fw -normal" >
27
27
< NavLink to = "/" className = "text-dark" >
28
28
< img src = { logo } alt = "Sitecore" />
29
29
</ NavLink >
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const StyleguideFieldUsageLink = (props) => (
26
26
< Link
27
27
field = { props . fields . externalLink }
28
28
showLinkTextWithChildrenPresent = { true }
29
- className = "font-weight -bold"
29
+ className = "fw -bold"
30
30
data-otherattributes = "pass-through-to-anchor-tag"
31
31
/>
32
32
</ StyleguideSpecimen >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const StyleguideFieldUsageText = (props) => (
17
17
tag = "section"
18
18
editable = { false }
19
19
encode = { false }
20
- className = "font-weight -bold"
20
+ className = "fw -bold"
21
21
data-sample = "other-attributes-pass-through"
22
22
/>
23
23
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const StyleguideLayout = (props) => {
23
23
} ) )
24
24
. map ( ( section ) => (
25
25
< nav key = { section . heading } className = "nav flex-column pt-2" >
26
- < a href = { `#${ section . id } ` } className = "nav-item font-weight -bold" >
26
+ < a href = { `#${ section . id } ` } className = "nav-item fw -bold" >
27
27
{ section . heading }
28
28
</ a >
29
29
{ section . children && (
You can’t perform that action at this time.
0 commit comments