forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParentStyling.vue
More file actions
37 lines (37 loc) · 1.23 KB
/
ParentStyling.vue
File metadata and controls
37 lines (37 loc) · 1.23 KB
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
<template>
<div class="q-pa-md" style="max-width: 500px">
<div class="row">
<div class="offset-1 col-3 column justify-between">
<p>Styling on parent</p>
<div>
<div class="bg-yellow q-pa-sm">Yellow block</div>
<div class="row q-gutter-lg bg-red-4">
<div class="q-pa-md bg-green-3" v-for="n in 4" :key="n">C</div>
</div>
</div>
</div>
<div class="offset-1 col-3 column justify-between">
<p>Styling on wrapper - .row</p>
<div>
<div class="bg-yellow q-pa-sm">Yellow block</div>
<div class="bg-red-4 row">
<div class="row q-gutter-lg">
<div class="q-pa-md bg-green-3" v-for="n in 4" :key="n">C</div>
</div>
</div>
</div>
</div>
<div class="offset-1 col-3 column justify-between">
<p>Styling on wrapper - .overflow-auto</p>
<div>
<div class="bg-yellow q-pa-sm">Yellow block</div>
<div class="bg-red-4 overflow-auto">
<div class="row q-gutter-lg">
<div class="q-pa-md bg-green-3" v-for="n in 4" :key="n">C</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>