Skip to content

Commit

Permalink
fix approvals popup and wallet header buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Viterbo committed May 6, 2024
1 parent de2fc76 commit 1e6ef1e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/css/global/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ body.body--dark {
--border-over-header-color: transparent;
--accent-color: var(--q-primary);
--accent-color-3: var(--border-color);
--header-icon-color: #FFF9;
--header-icon-color: var(--text-high-contrast);
--header-link-color: #FFF9;
--text-low-contrast: #FFF9;

// From Teloscan -------------
Expand Down
9 changes: 7 additions & 2 deletions src/pages/evm/allowances/EditAllowanceModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async function handleSubmit() {

<template>
<q-dialog :model-value="showDialog" @update:model-value="() => emit('close')">
<q-card class="q-pa-md">
<q-card class="c-edit-allowance-modal__card q-pa-md shadow-3">
<q-card-section>
{{ $t('evm_allowances.edit_modal_description') }}
<ExternalLink :text="row.spenderName || row.spenderAddress" :url="spenderUrl" />
Expand Down Expand Up @@ -331,8 +331,13 @@ async function handleSubmit() {

<style lang="scss">
.c-edit-allowance-modal {
&__card {
color: var(--text-color);
background-color: var(--bg-color) !important;
}
&__options-container {
background-color: var(--accent-color-5);
background-color: var(--header-background-color);
padding: 16px;
border-radius: 4px;
margin-bottom: 24px;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/evm/wallet/WalletPageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const goToBuy = () => {
&__link-text {
@include text--header-4;
color: var(--text-high-contrast);
color: var(--header-link-color);
text-align: center;
width: max-content;
}
Expand Down

0 comments on commit 1e6ef1e

Please sign in to comment.