mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
vue_accourse, resources bloc: change for flex-bloc placement
This commit is contained in:
parent
694213e79a
commit
ee3776288b
@ -96,7 +96,8 @@ export default {
|
|||||||
}
|
}
|
||||||
& > div {
|
& > div {
|
||||||
margin: 1em 3em 0;
|
margin: 1em 3em 0;
|
||||||
&.flex-table {
|
&.flex-table,
|
||||||
|
&.flex-bloc {
|
||||||
margin: 1em 0 0;
|
margin: 1em 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<label class="chill-no-data-statement">{{ $tc('resources.counter', counter) }}</label>
|
<label class="chill-no-data-statement">{{ $tc('resources.counter', counter) }}</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-table mb-3">
|
<div class="flex-bloc mb-3">
|
||||||
<resource-item
|
<resource-item
|
||||||
v-for="resource in resources"
|
v-for="resource in resources"
|
||||||
v-bind:resource="resource"
|
v-bind:resource="resource"
|
||||||
@ -76,3 +76,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
div.flex-bloc {
|
||||||
|
div.item-bloc {
|
||||||
|
flex-basis: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user