Skip to content

Commit

Permalink
adding contain class, updating height property in v-app-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Feb 26, 2025
1 parent e14e895 commit 32a055b
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 21 deletions.
8 changes: 4 additions & 4 deletions src/components/Navigation/Header.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
<v-app-bar
id="mainHeader"
short
height="150"
max-height="150"
height="150px"
class="header-container"
:class="[{'largeScreen': $vuetify.display.xlOnly}, {'smallScreen': $vuetify.display.mdAndDown}]"
>
Expand Down Expand Up @@ -113,7 +111,7 @@
min-width="167px"
max-width="184px"
>
<span :class="['white--text',{'text-primary': !item.active}, {'accent3--text': item.primary && !item.active}]">{{ item.label }}</span>
<span :class="['text-white',{'text-primary': !item.active}, {'text-accent3': item.primary && !item.active}]">{{ item.label }}</span>
</v-btn>
</li>
</ul>
Expand Down Expand Up @@ -251,6 +249,8 @@ header {
.header-container {
border-bottom: 3px dashed #253442;
position: relative !important;
max-height: 150px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/NavigationDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<v-img
src="/assets/fairsharing-logo.svg"
height="70"
contain
class="contain"
/>
</router-link>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/styles/_base.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// base class
a {
text-decoration: none;
color: #27aae1;
}

ul {
Expand All @@ -15,6 +16,7 @@ ol {
p {
line-height: 1.6;
text-align: justify;
margin-bottom: 16px;
}

pre {
Expand Down
16 changes: 8 additions & 8 deletions src/views/Errors/404.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
>
<v-img
src="/assets/Errors/404.png"
contain
class="contain"
width="500px"
/>
</v-col>
</v-row>
</template>

<script>
export default {
name: "Error404",
metaInfo() {
return {
title: "FAIRsharing | Not Found"
}
}
export default {
name: "Error404",
metaInfo() {
return {
title: "FAIRsharing | Not Found"
}
}
}
</script>
4 changes: 2 additions & 2 deletions src/views/Static/Community/Community.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
max-height="250px"
:src="item.image"
height="120"
contain
class="contain"
style="filter: grayscale(1);"
/>
</v-col>
Expand Down Expand Up @@ -258,7 +258,7 @@
max-height="250px"
:src="item.image"
height="120"
contain
class="contain"
style="filter: grayscale(1);"
/>
</v-col>
Expand Down
3 changes: 1 addition & 2 deletions src/views/Static/Educational/Educational.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@
>
<v-img
:src="`/assets/Educational/Infographic/${infographicPopup.data.logo}`"
class="align-end infographicPopup"
contain
class="align-end infographicPopup contain"
position="top center"
>
<v-card-actions class="justify-end closeInfoPopup">
Expand Down
3 changes: 1 addition & 2 deletions src/views/Static/Licence/Licence.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
<v-img
src="assets/fairsharing-logo.svg"
height="70"
contain
class="text-left pa-0 d-inline-block"
class="text-left pa-0 d-inline-block contain"
/>
<p
:class="['mb-4 lato-font-medium lato-text-sm',{'lato-text-md':$vuetify.display.xlOnly }]"
Expand Down
3 changes: 1 addition & 2 deletions src/views/Static/New/New.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
class="d-flex justify-center"
>
<v-img
class="mt-5"
contain
class="mt-5 contain"
height="100px"
:src="$vuetify.icons.values[item.icon].icon"
/>
Expand Down

0 comments on commit 32a055b

Please sign in to comment.