finished logos on home page #1258

This commit is contained in:
2023-02-19 21:19:44 +01:00
parent acc36bb1e9
commit 58523311a2
4 changed files with 26 additions and 13 deletions
+18 -8
View File
@@ -1336,14 +1336,24 @@ footer[role="tools"]{
}
;
#logos{
box-sizing: content-box;
max-height: 50px;
padding:1em;
text-align: right;
img{
display: inline-block;
max-height: 100%;
padding-left: 1em;
// max-height: 100%;
position: relative;
flex-shrink: 1;
// display: flex;
// flex-direction: row;
// justify-content: flex-end;
.wrapper{
position: relative;
box-sizing: content-box;
// max-height: 50px;
padding:1em;
text-align: right;
height: 50px;
img{
// display: inline-block;
height: 100%;
padding-left: 1em;
}
}
}
}
+6 -3
View File
@@ -27,10 +27,13 @@
<div
v-if="$route.name === 'home' && (!searchResults || !searchResults.length)"
id="logos"
class="col-7"
class="small-col-12 med-col-7 large-col-7"
>
<img src="/static/img/logos/labex.jpg" alt="">
<img src="/static/img/logos/PIA logo.png" alt="">
<div class="wrapper">
<img src="/static/img/logos/labex.jpg" alt="Labex">
<img src="/static/img/logos/PIA logo.png" alt="PIA">
<img src="/static/img/logos/Logo-HAR-Unite-de-recherche.png" alt="HAR">
</div>
</div>
</div>
</footer>
+2 -2
View File
@@ -116,9 +116,9 @@ export default {
wrapperClass () {
console.log('this.$route.name', this.$route.name)
if (this.$route.name === 'home' && (!this.results || !this.results.length)) {
return 'col-4'
return 'small-col-11 med-col-4 large-col-4'
} else {
return 'col-11'
return 'med-col-11 large-col-11'
}
},
firstFieldsetClass () {
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB