Skip to content

Commit 39f8ed2

Browse files
committed
feat: border radius startup
1 parent a0cd671 commit 39f8ed2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
height:100vh;
1717
display: flex;
1818
background: #FFFFFF;
19+
border-radius: 15px;
1920
}
2021
#app-loading .container{
2122
margin:auto;

src/App.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,11 @@ onMounted(() => {
204204
</script>
205205

206206
<style lang="less">
207+
@mainBorderRadius: 15px;
207208
#main {
208209
height: 100vh;
209210
overflow: hidden;
210-
border-radius: 15px;
211+
border-radius: @mainBorderRadius;
211212
background: #FFFFFF;
212213
213214
&.no-active-plugin {
@@ -216,7 +217,7 @@ onMounted(() => {
216217
position: absolute;
217218
inset: 0;
218219
padding: 2px;
219-
border-radius: 15px;
220+
border-radius: @mainBorderRadius;
220221
background-image: linear-gradient(130deg, #3377fe, #4c6fff, #8370ff, #ba59ff);
221222
background-size: 300% 300%;
222223
animation: border-flow 2s linear infinite;

0 commit comments

Comments
 (0)