Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize ProjectItem style #856

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Optimize ProjectItem style #856

merged 1 commit into from
Sep 3, 2024

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented Sep 3, 2024

No description provided.

@nighca nighca changed the title fix ProjectItem style Optimize ProjectItem style Sep 3, 2024
@@ -137,6 +137,7 @@ const creationTime = computed(() => dayjs(props.projectData.cTime).format('YYYY.
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
Copy link
Collaborator Author

@nighca nighca Sep 3, 2024

Choose a reason for hiding this comment

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

在名字太长的时候给名字和 UIIcon 之间留点空,宽度参考 UIIcon 与右边缘间的 padding

@@ -147,10 +148,13 @@ const creationTime = computed(() => dayjs(props.projectData.cTime).format('YYYY.
padding: 10px 10px 8px;
}

.name-container {
margin-bottom: 4px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

name-container 中包含 name & UIIcon,margin 加在 name 上的话会导致 name 跟 UIIcon 对不齐

@qiniu-ci
Copy link

qiniu-ci commented Sep 3, 2024

The PR environment is ready, please check the PR environment

[Attention]: This environment will be automatically cleaned up after a certain period of time., please make sure to test it in time. If you have any questions, please contact the builder team.

@aofei aofei merged commit 8bf6785 into goplus:dev Sep 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants