Skip to content

Commit

Permalink
fix: sonar issues and margins (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3k authored May 6, 2024
1 parent dfb96f5 commit bf80c3b
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions frontend/src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
governments.
</div>
</div>
<v-row>
<v-row class="bottom-padding">
<v-col class="justify-left" style="text-align: left">
<v-row>
<v-col class="justify-left" style="text-align: left">
Expand Down Expand Up @@ -38,37 +38,39 @@
</v-row>
</v-col>
<v-col
class="justify-right"
role="listbox"
id="more-info"
class="justify-right"
aria-label="More information links"
sm="6"
cols="12"
>
<p class="more-info-title">MORE INFO</p>
<v-row role="presentation" aria-labelledby="more-info">
<v-row aria-labelledby="more-info">
<v-col class="links" style="text-align: left">
<v-list>
<v-list-item
class="footer-btn pl-1 pr-1"
v-for="link in settings.links.left"
v-bind:href="sanitizeUrl(link.to)"
:key="link.id"
class="footer-btn pl-1 pr-1"
:href="sanitizeUrl(link.to)"
:data-testid="link.id"
role="listitem"
:aria-label="link.label"
>
<v-list-item-title v-text="link.label"></v-list-item-title>
<v-list-item-title>{{ link.label }}</v-list-item-title>
</v-list-item>
</v-list>
</v-col>
<v-col class="links" style="text-align: left">
<v-list>
<v-list-item
class="footer-btn pl-1 pr-1"
v-for="link in settings.links.right"
v-bind:href="sanitizeUrl(link.to)"
:key="link.id"
class="footer-btn pl-1 pr-1"
:href="sanitizeUrl(link.to)"
:aria-label="link.label"
:data-testid="link.id"
>
<v-list-item-title v-text="link.label"></v-list-item-title>
<v-list-item-title>{{ link.label }}</v-list-item-title>
</v-list-item>
</v-list>
</v-col>
Expand Down Expand Up @@ -176,6 +178,11 @@ p {
}
}
.bottom-padding {
padding-left: 32px;
padding-right: 32px;
}
.v-list-item-title {
color: $text-color;
font-size: $font-size !important;
Expand Down

0 comments on commit bf80c3b

Please sign in to comment.