Skip to content

Commit

Permalink
Merge pull request #674 from SamR1/fix-privacy-policy-message
Browse files Browse the repository at this point in the history
Fix display of privacy policy message with privacy extension
  • Loading branch information
SamR1 authored Dec 30, 2024
2 parents f9cbcc8 + dbdb7b8 commit ca3fd17
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions fittrackee/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<link rel="stylesheet" href="/static/css/fork-awesome.min.css"/>
<link rel="stylesheet" href="/static/css/leaflet.css"/>
<title>FitTrackee</title>
<script type="module" crossorigin src="/static/index-wcYMtFVC.js"></script>
<script type="module" crossorigin src="/static/index-DVbN2_96.js"></script>
<link rel="modulepreload" crossorigin href="/static/charts-BDOr5tL2.js">
<link rel="modulepreload" crossorigin href="/static/maps-DkiRMund.js">
<link rel="stylesheet" crossorigin href="/static/css/maps-CIGW-MKW.css">
<link rel="stylesheet" crossorigin href="/static/css/index-BnK-W-lv.css">
<link rel="stylesheet" crossorigin href="/static/css/index-a-Y1BgAZ.css">
</head>
<body>
<div id="app"></div>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions fittrackee_client/src/components/PrivacyPolicyToAccept.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="privacy-policy-message">
<div class="policy-message">
<span>
<i18n-t
:keypath="`user.${isPrivacyUpdated ? 'LAST_' : ''}PRIVACY_POLICY_TO_VALIDATE`"
Expand All @@ -26,7 +26,7 @@
<style scoped lang="scss">
@import '~@/scss/vars.scss';
.privacy-policy-message {
.policy-message {
background: var(--alert-background-color);
color: var(--alert-color);
border-radius: $border-radius;
Expand Down
6 changes: 3 additions & 3 deletions fittrackee_client/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
</div>
<div
class="container privacy-policy-message"
class="container policy-container"
v-if="authUser.accepted_privacy_policy !== true"
>
<PrivacyPolicyToAccept
Expand Down Expand Up @@ -132,7 +132,7 @@
display: none;
}
.privacy-policy-message {
.policy-container {
display: flex;
justify-content: center;
}
Expand Down Expand Up @@ -188,7 +188,7 @@
}
@media screen and (max-width: $small-limit) {
.privacy-policy-message {
.policy-container {
margin: 0 $default-margin * 0.5;
}
}
Expand Down

0 comments on commit ca3fd17

Please sign in to comment.