Skip to content
Snippets Groups Projects
Commit 4924c138 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issue/14458' into 'develop'

REDMINE_ISSUE-14458 | Responsive - description projet mal disposée

See merge request geocontrib/geocontrib-frontend!453
parents 5d95ec2e aba4a42b
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<div class="description"> <div class="description">
<p>{{ project.description }}</p> <p>{{ project.description }}</p>
</div> </div>
<div class="meta"> <div class="meta top">
<span class="right floated"> <span class="right floated">
<strong v-if="project.moderation">Projet modéré</strong> <strong v-if="project.moderation">Projet modéré</strong>
<strong v-else>Projet non modéré</strong> <strong v-else>Projet non modéré</strong>
...@@ -110,3 +110,36 @@ export default { ...@@ -110,3 +110,36 @@ export default {
}; };
</script> </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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment