refactor: move border to screen itself, and use withDefaults

This commit is contained in:
2025-11-09 17:44:29 +01:00
parent a39369a7fe
commit 10b0e0a1e3
3 changed files with 16 additions and 24 deletions

View File

@@ -1,16 +1,6 @@
<template>
<div class="wrapper">
<Screen>
<Background />
<Stats />
</Screen>
</div>
<Screen>
<Background />
<Stats />
</Screen>
</template>
<style>
.wrapper {
width: fit-content;
height: fit-content;
border: 1px solid red;
}
</style>