Skip to content

Commit b1d8dd5

Browse files
authored
Update styles for GitHub link and breadcrumbs in the documentation UI (#3742)
- Increased font size for the GitHub link in the header for better visibility. - Adjusted font size for breadcrumb links and modified the transform property for breadcrumb home icon. - Expanded footer section width and updated font size for footer section items for improved layout.
1 parent 446ab35 commit b1d8dd5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docuilib/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const darkCodeTheme = themes.dracula;
118118
href: 'https://github.com/wix/react-native-ui-lib',
119119
position: 'right',
120120
html: `
121-
<div style="display: flex; align-items: center;">
121+
<div style="display: flex; align-items: center; font-size: 16px;">
122122
<span style="margin-right: 6px;">GitHub</span>
123123
<image src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/externalSmall.png" alt="external link icon" width="17" height="16" />
124124
</div>

docuilib/src/css/custom.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,15 @@ main {
149149

150150
.breadcrumbs__link {
151151
color: #4D5963;
152+
font-size: 16px;
152153
}
153154
.breadcrumbs__item--active .breadcrumbs__link {
154155
color: #20303C;
155156
background-color: #FFF;
156157
}
157158
.breadcrumbHomeIcon_YNFT {
158159
color: #20303C;
160+
transform: translateY(20%);
159161
}
160162

161163
/** Custom Footer */
@@ -178,7 +180,7 @@ main {
178180
margin-bottom: 40px;
179181
}
180182
.footer__section {
181-
width: 200px;
183+
width: 250px;
182184
display: flex;
183185
}
184186
.footer__section__item a {
@@ -188,7 +190,7 @@ main {
188190
.footer__section__item span {
189191
margin-right: 4px;
190192
font-weight: 500;
191-
font-size: 14px;
193+
font-size: 16px;
192194
letter-spacing: 0.3px;
193195
line-height: 38px;
194196
}

0 commit comments

Comments
 (0)