Skip to content
Snippets Groups Projects
Commit c0003652 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!456
parents 4924c138 1bd38c35
No related branches found
No related tags found
No related merge requests found
...@@ -47,11 +47,11 @@ ...@@ -47,11 +47,11 @@
<div class="description"> <div class="description">
<p>{{ project.description }}</p> <p>{{ project.description }}</p>
</div> </div>
<div class="meta"> <div class="meta top">
<span <span
class="right floated" class="right floated"
> >
Projet {{ project.moderation ? "" : "non" }} modéré <strong>Projet {{ project.moderation ? "" : "non" }} modéré</strong>
</span> </span>
<span> <span>
Niveau d'autorisation requis : {{ project.access_level_pub_feature }} Niveau d'autorisation requis : {{ project.access_level_pub_feature }}
...@@ -228,6 +228,12 @@ export default { ...@@ -228,6 +228,12 @@ export default {
} }
} }
.description {
p {
text-align: justify;
}
}
@media only screen and (min-width: 767px) { @media only screen and (min-width: 767px) {
.item-content-wrapper { .item-content-wrapper {
align-items: flex-start; align-items: flex-start;
...@@ -235,6 +241,12 @@ export default { ...@@ -235,6 +241,12 @@ export default {
.middle.aligned.content { .middle.aligned.content {
width: 100%; width: 100%;
padding: 0 0 0 1.5em; padding: 0 0 0 1.5em;
.meta.top {
span {
line-height: 1.2em;
}
}
} }
} }
} }
...@@ -244,8 +256,25 @@ export default { ...@@ -244,8 +256,25 @@ export default {
align-items: center; align-items: center;
.middle.aligned.content { .middle.aligned.content {
width: 70%; width: 80%;
padding: 1.5em 0 0; padding: 1.5em 0 0;
.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;
}
}
} }
} }
} }
......
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