remove Row css - position:relative
remove Row css - position:relative
This commit is contained in:
parent
7570318ba0
commit
bf962a6917
5 changed files with 23 additions and 9 deletions
2
dist/styles/iview.all.css
vendored
2
dist/styles/iview.all.css
vendored
File diff suppressed because one or more lines are too long
2
dist/styles/iview.css
vendored
2
dist/styles/iview.css
vendored
File diff suppressed because one or more lines are too long
|
@ -4,21 +4,35 @@
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
|
height: 1000px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div class="tooltip_out">
|
<div class="tooltip_out">
|
||||||
|
123
|
||||||
|
</div>
|
||||||
|
<div class="tooltip_out">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<Row>
|
||||||
|
<i-col span="12">
|
||||||
<Tooltip content="Top Left 提示文字" placement="top-start">
|
<Tooltip content="Top Left 提示文字" placement="top-start">
|
||||||
<Button>上面的左面</Button>
|
<Button>上面的左面</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</i-col>
|
||||||
|
<i-col span="12">
|
||||||
|
<Tooltip content="Top Left 提示文字" placement="top-start">
|
||||||
|
<Button>上面的左面</Button>
|
||||||
|
</Tooltip>
|
||||||
|
</i-col>
|
||||||
|
</Row>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Tooltip, Button } from 'iview';
|
import { Tooltip, Button, Row, iCol } from 'iview';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { Tooltip, Button },
|
components: { Tooltip, Button, Row, iCol },
|
||||||
props: {
|
props: {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iview",
|
"name": "iview",
|
||||||
"version": "0.9.5-rc-2",
|
"version": "0.9.5-rc-3",
|
||||||
"title": "iView",
|
"title": "iView",
|
||||||
"description": "A high quality UI components Library with Vue.js",
|
"description": "A high quality UI components Library with Vue.js",
|
||||||
"homepage": "http://www.iviewui.com",
|
"homepage": "http://www.iviewui.com",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@col-prefix-cls: ~"@{css-prefix}col";
|
@col-prefix-cls: ~"@{css-prefix}col";
|
||||||
|
|
||||||
.make-row(@gutter: @grid-gutter-width) {
|
.make-row(@gutter: @grid-gutter-width) {
|
||||||
position: relative;
|
//position: relative;
|
||||||
margin-left: (@gutter / -2);
|
margin-left: (@gutter / -2);
|
||||||
margin-right: (@gutter / -2);
|
margin-right: (@gutter / -2);
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
Loading…
Add table
Reference in a new issue