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
@@ -429,7 +429,7 @@ onUnmounted(() => {
.reset-btn {
padding: 0.625rem 1.25rem;
border: none;
border-radius: 8px;
border-radius: 6px;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
@@ -477,7 +477,7 @@ onUnmounted(() => {
width: 100%;
padding: 0.5rem 0.75rem;
border: 2px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
font-size: 0.875rem;
background: var(--vp-c-bg);
cursor: pointer;
@@ -553,7 +553,7 @@ onUnmounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: #ffffff;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
@@ -589,7 +589,7 @@ canvas {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -303,7 +303,7 @@ onMounted(() => {
padding: 0.625rem 1.25rem;
border: 2px solid var(--vp-c-divider);
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
@@ -402,7 +402,7 @@ onMounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: #ffffff;
max-width: 100%;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
@@ -299,7 +299,7 @@ onMounted(() => {
padding: 0.5rem 1rem;
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
transition: all 0.2s;
}
@@ -319,9 +319,9 @@ onMounted(() => {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
padding: 1rem;
padding: 0.75rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -359,7 +359,7 @@ onMounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
cursor: crosshair;
background: #ffffff;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
@@ -369,7 +369,7 @@ canvas {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -523,7 +523,7 @@ onMounted(() => {
padding: 0.5rem 1rem;
border: 2px solid var(--vp-c-divider);
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
@@ -546,9 +546,9 @@ onMounted(() => {
.instructions {
margin-bottom: 1rem;
padding: 1rem;
padding: 0.75rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -583,7 +583,7 @@ onMounted(() => {
.log-container {
max-height: 150px;
overflow-y: auto;
background: white;
border-radius: 6px;
padding: 10px;
@@ -653,7 +653,7 @@ onMounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
cursor: crosshair;
outline: none;
background: #ffffff;
@@ -695,7 +695,7 @@ canvas:focus {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -410,7 +410,7 @@ onUnmounted(() => {
padding: 0.5rem 1rem;
border: 2px solid var(--vp-c-divider);
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
@@ -514,7 +514,7 @@ onUnmounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
cursor: crosshair;
background: #ffffff;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
@@ -551,7 +551,7 @@ canvas {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -585,7 +585,7 @@ onUnmounted(() => {
padding: 0.5rem 1rem;
border: 2px solid var(--vp-c-divider);
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
@@ -736,7 +736,7 @@ onUnmounted(() => {
canvas {
border: 3px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: #ffffff;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
@@ -745,7 +745,7 @@ canvas {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}
@@ -815,7 +815,7 @@ canvas {
margin: 1.5rem 0;
padding: 1.25rem;
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
border: 1px solid var(--vp-c-divider);
}