Skip to content

Commit 1055abb

Browse files
fix: phishing suspicion alert align
Make the phishing suspicion warning be aligned well with the rest of the content Signed-off-by: Tobiáš Vašťák <[email protected]>
1 parent 44dda38 commit 1055abb

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/components/PhishingWarning.vue

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ export default {
6464
<style lang="scss" scoped>
6565
.phishing-warning {
6666
background-color:rgba(var(--color-warning-rgb), 0.2);
67-
border-radius: var(--border-radius);
68-
text-align: start;
69-
padding: 8px;
70-
margin: calc(var(--default-grid-baseline) * 2);
67+
border-radius: var(--border-radius);
68+
text-align: start;
69+
padding: 8px;
70+
margin: calc(var(--default-grid-baseline) * 3);
7171
// To match the html message margin
72-
margin-inline-start: 50px;
72+
margin-inline-start: calc(var(--default-grid-baseline) * 14);
7373
&__title {
7474
display: flex;
7575
}
@@ -80,11 +80,15 @@ export default {
8080
word-wrap: break-word;
8181
}
8282
}
83-
&__links {
84-
margin-top: 10px;
83+
&__links {
84+
margin-top: 10px;
8585
&__button{
8686
margin-bottom: 10px;
8787
}
88-
}
88+
}
89+
90+
@media (max-width: 500px) {
91+
margin-inline-start: calc(var(--default-grid-baseline) * 3);
92+
}
8993
}
9094
</style>

0 commit comments

Comments
 (0)