Skip to content

🐛 [Bug]: 关于使用layout的d-row和d-col布局表格问题 #357

Description

@bouyeijiang

Version

15

Angular Version

15

Link to minimal reproduction

如图:
image
红色1块长度是37.5%。红色2的三小块加起来也是37.5%为什么显示的时候没有对齐,这个是什么原因导致如何解决?

Step to reproduce

复现代码:

<d-col class="sec-title" [dSpan]="5">a
<d-col class="content" [dSpan]="7">b
<d-col class="sec-title" [dSpan]="3">c
<d-col class="content" [dSpan]="9">d

ax bx cx dx
<d-col class="sec-title" [dSpan]="3">ex</d-col>
<d-col class="content" [dSpan]="3">fx</d-col>
<d-col class="sec-title" [dSpan]="3">gx</d-col>
<d-col class="content" [dSpan]="3">hx</d-col>

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions