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

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

Open
bouyeijiang opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@bouyeijiang
Copy link

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

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

No branches or pull requests

1 participant