Skip to content

Commit

Permalink
Merge pull request #135 from abes-esr/THE-919-R-sultats-Personnes-Aff…
Browse files Browse the repository at this point in the history
…iner-la-maquette_2

THE-919 positionnement du bouton idref a coté des boutons roles
  • Loading branch information
clementdelafontaine authored Oct 3, 2023
2 parents f662a24 + 4bc89a1 commit f9868ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,7 @@ h4 {
flex-wrap: wrap;
text-decoration: none;
color: rgb(var(--v-theme-primary));
font-size: 20px;
@media #{ map-get(settings.$display-breakpoints, 'md-and-up')} {
font-size: 29.5px;
}
font-size: 18px;
.prenom {
font-weight: 400;
Expand Down
16 changes: 11 additions & 5 deletions src/components/personnes/results/PersonnesCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
({{ item.roles["rapporteur"] ? item.roles["rapporteur"] : 0 }})
</v-btn>
</div>
<div v-if="mobile" class="flex-grow-spacer"></div>
</div>
</div>
<div class="vertical-spacer"></div>
Expand All @@ -60,9 +61,11 @@ export default {
</script>
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useDisplay } from "vuetify";
const router = useRouter();
const currentRoute = useRoute();
const { mobile } = useDisplay();
const props = defineProps({
item: {
Expand Down Expand Up @@ -172,6 +175,7 @@ function goToPersonne(hash) {
.idref-container {
display: flex;
align-items: center;
flex-shrink: 5;
img {
max-height: 45px;
Expand All @@ -192,14 +196,11 @@ function goToPersonne(hash) {
align-content: center;
justify-content: start;
height: 100px;
@media #{ map-get(settings.$display-breakpoints, 'md-and-up')} {
justify-content: flex-end;
}
flex-shrink: 5;
.v-btn {
max-height: 30px;
min-width: 166px;
width: 166px;
font-weight: 500;
text-transform: none;
padding: 0 8px;
Expand All @@ -214,6 +215,11 @@ function goToPersonne(hash) {
}
}
.flex-grow-spacer {
width: 100%;
flex-grow: 5;
order: 3;
}
}
}
Expand Down

0 comments on commit f9868ba

Please sign in to comment.