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

Issue on theme color changing of horizontal layout #4677

Closed
1 task done
vxfranky opened this issue Sep 21, 2021 · 1 comment
Closed
1 task done

Issue on theme color changing of horizontal layout #4677

vxfranky opened this issue Sep 21, 2021 · 1 comment
Labels

Comments

@vxfranky
Copy link

vxfranky commented Sep 21, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Antdv version 1.7.8 (udpated)

What problem does this feature solve?

Horizontal layout using tag <a-layout-header> which has no attribute to change its theme color, the color was fixed to @layout-header-background: #001529 (defined at: node_modules/ant-design-vue/lib/style/themes/default.less). It is possible to change the background color by setting background-color to a specified value according to the value of theme, but the color change was instant, while <a-menu> has an animation.

What does the proposed API look like?

<a-layout
id="components-layout-demo-fixed"
v-if="navMode == 'horizontal'"

<a-layout-header
:style="{
position: 'fixed',
zIndex: 1,
width: '100%',
}"

Ant Design of Vue
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant