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{ #logos{
box-sizing: content-box; // max-height: 100%;
max-height: 50px; position: relative;
padding:1em; flex-shrink: 1;
text-align: right; // display: flex;
img{ // flex-direction: row;
display: inline-block; // justify-content: flex-end;
max-height: 100%; .wrapper{
padding-left: 1em; 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 <div
v-if="$route.name === 'home' && (!searchResults || !searchResults.length)" v-if="$route.name === 'home' && (!searchResults || !searchResults.length)"
id="logos" id="logos"
class="col-7" class="small-col-12 med-col-7 large-col-7"
> >
<img src="/static/img/logos/labex.jpg" alt=""> <div class="wrapper">
<img src="/static/img/logos/PIA logo.png" alt=""> <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>
</div> </div>
</footer> </footer>
+2 -2
View File
@@ -116,9 +116,9 @@ export default {
wrapperClass () { wrapperClass () {
console.log('this.$route.name', this.$route.name) console.log('this.$route.name', this.$route.name)
if (this.$route.name === 'home' && (!this.results || !this.results.length)) { if (this.$route.name === 'home' && (!this.results || !this.results.length)) {
return 'col-4' return 'small-col-11 med-col-4 large-col-4'
} else { } else {
return 'col-11' return 'med-col-11 large-col-11'
} }
}, },
firstFieldsetClass () { firstFieldsetClass () {
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB