🐛 Fix(custom): fix minipage css error

ISSUES CLOSED: #369
This commit is contained in:
Kuingsmile
2025-08-18 14:02:52 +08:00
parent 8df94c0c9f
commit 228b96537b

View File

@@ -195,13 +195,16 @@ onBeforeUnmount(() => {
window.removeEventListener('mouseup', handleMouseUp, false) window.removeEventListener('mouseup', handleMouseUp, false)
}) })
</script> </script>
<script lang="ts"> <script lang="ts">
export default { export default {
name: 'MiniPage' name: 'MiniPage'
} }
</script> </script>
<style lang="stylus"> <style lang="stylus">
#mini-page #mini-page
background #409EFF
color #FFF color #FFF
height 100vh height 100vh
width 100vw width 100vw
@@ -213,6 +216,7 @@ export default {
background-position center center background-position center center
background-repeat no-repeat background-repeat no-repeat
position relative position relative
border 4px solid #fff
box-sizing border-box box-sizing border-box
cursor pointer cursor pointer
&.linux &.linux
@@ -222,6 +226,7 @@ export default {
height 100% height 100%
width 100% width 100%
border-radius 50% border-radius 50%
transition all .2s ease-in-out
&.linux &.linux
border-radius 0 border-radius 0
&.uploading &.uploading