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

自适应排版好像不能用 #41

Closed
1 of 3 tasks
r6047736 opened this issue Mar 1, 2018 · 1 comment · Fixed by #42
Closed
1 of 3 tasks

自适应排版好像不能用 #41

r6047736 opened this issue Mar 1, 2018 · 1 comment · Fixed by #42
Assignees
Labels
bug Something isn't working

Comments

@r6047736
Copy link

r6047736 commented Mar 1, 2018

Issue Type:

  • Bug
  • Feature
  • Help

Version & Environment:

Description:

<style>
  .row{
    background: gray;
    border-radius: 5px;
    padding:5px;
  }
  .col{
    background: #5bffb4;
    height: 20px;
    border:1px solid black;
  }
</style>
<div el-row class="row" [gutter]="24">
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
  <div el-col  [lg]="4" [md]="8" [xs]="12" class="col" ></div>
</div>

我想要一个 效果是 large下 可以一行显示 6个盒子, mid情况下显示3个盒子, sm情况下显示2个盒子
但是md sm 仿佛不能使用.
运行的结果是 large下可以显示6和盒子, 其他情况下全是一行一个盒子 (block 的效果) .
请问我该怎么解决这个问题?
第一次在github上问问题,如果有不规范的地方请谅解

@unix unix mentioned this issue Mar 1, 2018
2 tasks
@unix unix self-assigned this Mar 1, 2018
@unix unix added the bug Something isn't working label Mar 1, 2018
@unix
Copy link
Contributor

unix commented Mar 1, 2018

released v0.6.3.

@unix unix closed this as completed in #42 Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants