forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRowVariableWidth.vue
More file actions
40 lines (36 loc) · 811 Bytes
/
RowVariableWidth.vue
File metadata and controls
40 lines (36 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
<div class="q-pa-md">
<div class="row justify-center">
<div class="col-12 col-md-2">
.col-12 .col-md-2
</div>
<div class="col-12 col-md-auto">
.col-12 .col-md-auto (Variable width content)
</div>
<div class="col-12 col-md-2">
.col-12 .col-md-2
</div>
</div>
<div class="row">
<div class="col">
.col
</div>
<div class="col-12 col-md-auto">
.col-12 .col-md-auto (Variable width content)
</div>
<div class="col">
.col
</div>
</div>
</div>
</template>
<style lang="sass" scoped>
.row
background: rgba(255,0,0,.1)
.row > div
padding: 10px 15px
background: rgba(86,61,124,.15)
border: 1px solid rgba(86,61,124,.2)
.row + .row
margin-top: 1rem
</style>