Skip to content

Commit

Permalink
site: optimize banner display (#44894)
Browse files Browse the repository at this point in the history
  • Loading branch information
chen201724 authored Sep 15, 2023
1 parent fa61f81 commit 4d38144
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .dumi/theme/common/styles/Responsive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default () => {
styles={css`
.nav-phone-icon {
position: absolute;
top: 25px;
bottom: 17px;
right: 30px;
z-index: 1;
display: none;
Expand Down
4 changes: 0 additions & 4 deletions .dumi/theme/slots/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,10 @@ const useStyle = createStyles(({ token, css }) => {
},
},
banner: css`
position: absolute;
bottom: 0;
left: 50%;
width: 100%;
background: #daf5eb;
text-align: center;
word-break: keep-all;
transform: translate(-50%, 100%);
`,
link: css`
margin-left: 10px;
Expand Down

1 comment on commit 4d38144

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.