Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
Signed-off-by: Q01 <8140841+pb8DvwQkfRR@users.noreply.github.com>
  • Loading branch information
pb8DvwQkfRR committed Jul 2, 2024
1 parent 3a7ef31 commit 335b357
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CODE REDEEM</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no"/>
<title>Wos Code Redeem</title>
</head>
<body>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="app">
<div class="app">
<div class="main">
<GiftCode></GiftCode>
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/view/gift-code/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@
top: -4px;
margin-left: 10px;
}
.el-notification__group {
font-family: var(--el-font-family);
}
.el-popper span {
font-family: var(--el-font-family);
}
4 changes: 2 additions & 2 deletions src/view/gift-code/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ watch(cdk, (newVal) => {
onMounted(() => {
ElNotification({
title: 'Tips!',
title: 'Tips',
message: 'You can now click specific ID to retry!',
type: 'info',
position: 'bottom-right',
Expand Down Expand Up @@ -313,7 +313,7 @@ async function retry(id: string) {
if (!cdk.value) {
ElNotification({
title: 'Warning',
message: 'Code cannot be empty.',
message: 'Code cannot be empty!',
type: 'warning',
duration: 3000,
});
Expand Down

0 comments on commit 335b357

Please sign in to comment.