Skip to content

Commit

Permalink
Merge pull request #10259 from nextcloud/fix/rtl/phishig-warning
Browse files Browse the repository at this point in the history
fix(rtl): phishing warning component
  • Loading branch information
hamza221 authored Oct 15, 2024
2 parents a040882 + 6516398 commit a192f6e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/PhishingWarning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="phishing-warning">
<div class="phishing-warning__title">
<IconAlertOutline :size="16" :title="t('mail', 'Phishing email')" />
This email might be a phishing attempt
{{ t('mail','This email might be a phishing attempt') }}
</div>
<ul v-for="(warning,index) in warnings" :key="index" class="phishing-warning__list">
<li class="phishing-warning__list__item">
Expand All @@ -19,7 +19,9 @@
</NcButton>
<div v-if="showMore">
<ul v-for="(link,index) in linkWarning.additionalData" :key="index" class="phishing-warning__list">
<li><b>href: </b>{{ link.href }} : <b>{{ t('mail','link text') }}</b> {{ link.linkText }} </li>
<li class="phishing-warning__list__item" dir="auto">
<b>href: </b>{{ link.href }} <b>{{ t('mail','link text') }}:</b> {{ link.linkText }}
</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -63,7 +65,7 @@ export default {
.phishing-warning {
background-color:rgba(var(--color-warning-rgb), 0.2);
border-radius: var(--border-radius);
text-align: left;
text-align: start;
padding: 8px;
margin: calc(var(--default-grid-baseline) * 2);
&__title {
Expand Down

0 comments on commit a192f6e

Please sign in to comment.