forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathColumnVariableWidth.vue
More file actions
40 lines (36 loc) · 849 Bytes
/
ColumnVariableWidth.vue
File metadata and controls
40 lines (36 loc) · 849 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="column justify-center" style="height: 250px">
<div class="col col-md-4">
.col .col-md-4
</div>
<div class="col-auto">
.col-auto (Variable height content)
</div>
<div class="col col-md-4">
.col .col-md-4
</div>
</div>
<div class="column" style="height: 250px">
<div class="col">
.col
</div>
<div class="col-auto">
.col-auto (Variable height content)
</div>
<div class="col col-md-3">
.col .col-md-3
</div>
</div>
</div>
</template>
<style lang="sass" scoped>
.column
background: rgba(255, 0, 0, .1)
.column > div
padding: 10px 15px
background: rgba(86, 61, 124, .15)
border: 1px solid rgba(86, 61, 124, .2)
.column + .column
margin-top: 1rem
</style>