diff --git a/src/components/Projects/ProjectsListItem.vue b/src/components/Projects/ProjectsListItem.vue index 983186fe97b8adbe9363b8071e465896aad1ddeb..fe3e4d4e908ed04287a73b0e99a2c57f616d1c44 100644 --- a/src/components/Projects/ProjectsListItem.vue +++ b/src/components/Projects/ProjectsListItem.vue @@ -23,7 +23,7 @@ <div class="description"> <p>{{ project.description }}</p> </div> - <div class="meta"> + <div class="meta top"> <span class="right floated"> <strong v-if="project.moderation">Projet modéré</strong> <strong v-else>Projet non modéré</strong> @@ -110,3 +110,36 @@ export default { }; </script> + +<style lang="less" scoped> + +.description { + p { + text-align: justify; + } +} + +@media screen and (max-width: 767px) { + .content { + width: 90% !important; + + .meta.top { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: center; + + .right.floated { + float: none !important; + margin-left: 0 !important; + margin-bottom: 0.5em; + } + + span { + margin: 0.15em 0; + } + } + } +} + +</style>