element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[Component] [message-box] ELMessageBox组件使用center:true的时候,icon在title前面,如果不是center:true,icon就在内容那一行。

Open xialeyixia opened this issue 1 year ago • 2 comments

Bug Type: Component

Environment

  • Vue Version: 3.4.23
  • Element Plus Version: 2.7.2
  • Browser / OS: chrome/windows
  • Build Tool: Vite

Reproduction

Related Component

  • el-message-box

Reproduction Link

Element Plus Playground

Steps to reproduce

1、点击居中居中confirm按钮 2、点击非居中confirm按钮

What is Expected?

点击两个按钮的时候,提醒的黄色icon都在title那一行

What is actually happening?

点击居中居中confirm按钮时提醒的黄色icon在title那一行,点击非居中confirm按钮提醒的黄色icon在内容那一行

Additional comments

(empty)

xialeyixia avatar Apr 28 '24 08:04 xialeyixia

image image

xialeyixia avatar Apr 28 '24 08:04 xialeyixia

设计如此

warmthsea avatar Apr 28 '24 10:04 warmthsea

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.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

github-actions[bot] avatar Jun 05 '24 16:06 github-actions[bot]