-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: tab promote size * fix: tab-overflow * fix: delete useless code
- Loading branch information
Showing
4 changed files
with
64 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import style from './icon.module.less' | ||
|
||
export const Expand = () => { | ||
return ( | ||
<svg | ||
viewBox="0 0 1024 1024" | ||
version="1.1" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="20" | ||
className={style.icon} | ||
height="60" | ||
> | ||
<path | ||
d="M498.752 288l224 224-224 224L544 781.248 813.248 512 544 242.752 498.752 288z m-288 0l224 224-224 224L256 781.248 525.248 512 256 242.752 210.752 288z" | ||
data-spm-anchor-id="a313x.7781069.0.i0" | ||
/> | ||
</svg> | ||
) | ||
} | ||
export const Collapse = () => { | ||
return ( | ||
<svg | ||
className={style.icon} | ||
viewBox="0 0 1024 1024" | ||
version="1.1" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="20" | ||
height="60" | ||
> | ||
<path d="M525.248 288l-224 224 224 224L480 781.248 210.752 512 480 242.752 525.248 288z m288 0l-224 224 224 224L768 781.248 498.752 512 768 242.752 813.248 288z" /> | ||
</svg> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.icon { | ||
fill: var(--juejin-font-1); | ||
transition: fill 0.1s; | ||
} |
a2ec3a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
juejin – ./
juejin-bocchi.vercel.app
juejin-git-master-bocchi.vercel.app
juejin-xi.vercel.app