Skip to content

Commit

Permalink
fix(privacy): clean up a couple of styles
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreCat committed Jan 2, 2025
1 parent fb483e6 commit f6895f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 8 additions & 1 deletion website/client/src/components/header/banners/privacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
v-html="$t('privacyOverview') + ' ' + $t('learnMorePrivacy')"
>
</p>
<div class="navigation d-flex flex-column justify-content-around text-center ml-2">
<div
class="navigation d-flex flex-column justify-content-around text-center ml-2"
:class="{ static: isStaticPage }"
>
<button class="btn btn-primary mb-2">
{{ $t('acceptAllCookies') }}
</button>
Expand Down Expand Up @@ -49,6 +52,10 @@
width: calc(100vw - 48px);
}
.static button {
width: calc(100vw - 96px);
}
p {
margin-bottom: 16px !important;
}
Expand Down
10 changes: 7 additions & 3 deletions website/client/src/components/ui/toggleSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<label
class="toggle-switch-label"
:for="toggleId"
:class="{ disabled }"
>
<span
class="toggle-switch-inner"
:class="{ disabled }"
>
</span>
<span
Expand Down Expand Up @@ -126,8 +126,12 @@
text-align: right;
}
.toggle-switch-inner.disabled:before, .toggle-switch-inner.disabled:after {
opacity: 0.5;
.disabled {
cursor: auto;
.toggle-switch-inner:before, .toggle-switch-inner:after {
opacity: 0.5;
}
}
.toggle-switch-switch {
Expand Down

0 comments on commit f6895f3

Please sign in to comment.