Skip to content

Commit 5548cc1

Browse files
authored
Style updates for content banner (facebook#4421)
1 parent 8ee876f commit 5548cc1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

website/src/css/customTheme.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
--ifm-menu-link-padding-horizontal: 0;
2727
--ifm-toc-padding-vertical: 6px;
2828
--ifm-toc-link-color: var(--ifm-color-emphasis-700);
29-
--ifm-code-font-size: 90%;
30-
--ifm-code-border-radius: 3px;
3129
--ifm-blockquote-color: var(--ifm-font-color-base);
3230
--ifm-blockquote-font-size: 16px;
3331
--ifm-blockquote-border-radius: var(--ifm-global-radius);
@@ -1364,9 +1362,9 @@ div[class*="announcementBarContent"] {
13641362
margin-bottom: 2em;
13651363
position: relative;
13661364
overflow: hidden;
1367-
width: calc(100% + 1em);
1368-
left: -1em;
1365+
width: calc(100%);
13691366
color: var(--dark);
1367+
border-radius: var(--ifm-global-radius);
13701368
}
13711369

13721370
.content-banner p {

0 commit comments

Comments
 (0)