style: update border-radius and padding values across components

- standardize border-radius from 8px to 6px for consistent styling
- adjust padding values from 1rem to 0.75rem for better visual hierarchy
- remove redundant overflow-y properties for cleaner code
This commit is contained in:
sanbuphy
2026-02-14 20:23:34 +08:00
parent 81e4284b87
commit d35211071a
373 changed files with 3441 additions and 5629 deletions
@@ -339,9 +339,9 @@ const hoveredPart = ref(null)
<style scoped>
.browser-rendering-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg);
margin: 1rem 0;
margin: 0.5rem 0;
font-family: var(--vp-font-family-mono);
overflow: hidden;
}
@@ -354,7 +354,7 @@ const hoveredPart = ref(null)
.step-btn {
flex: 1;
padding: 1rem;
padding: 0.75rem;
border: none;
background: transparent;
display: flex;
@@ -453,10 +453,10 @@ const hoveredPart = ref(null)
}
.code-content {
padding: 1rem;
padding: 0.75rem;
font-size: 0.8rem;
font-family: monospace;
overflow-y: auto;
}
.line {
@@ -506,7 +506,7 @@ const hoveredPart = ref(null)
flex-direction: column;
align-items: center;
position: relative;
overflow-y: auto;
}
/* Blocks Animation */