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
@@ -148,10 +148,10 @@ const startIndex = () => {
<style scoped>
.btree-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -195,7 +195,7 @@ const startIndex = () => {
.compare-card {
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
border: 1px solid var(--vp-c-divider);
}
@@ -113,10 +113,10 @@ const currentStage = computed(() => {
<style scoped>
.data-evolution-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -163,7 +163,7 @@ const currentStage = computed(() => {
position: relative;
cursor: pointer;
padding: 0.5rem;
border-radius: 8px;
border-radius: 6px;
transition: all 0.2s ease;
}
@@ -178,7 +178,7 @@ const currentStage = computed(() => {
.stage-icon {
width: 40px;
height: 40px;
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-brand);
display: flex;
align-items: center;
@@ -231,8 +231,8 @@ const currentStage = computed(() => {
.stage-detail {
background: var(--vp-c-bg);
border-radius: 8px;
padding: 1rem;
border-radius: 6px;
padding: 0.75rem;
margin-top: 0.75rem;
border: 1px solid var(--vp-c-divider);
}
@@ -183,10 +183,10 @@ const startSearch = async () => {
<style scoped>
.db-index-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -302,7 +302,7 @@ const startSearch = async () => {
.view-container {
max-height: 300px;
overflow-y: auto;
}
.grid {
@@ -121,10 +121,10 @@ const filteredOrders = computed(() => {
<style scoped>
.relation-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -173,7 +173,7 @@ const filteredOrders = computed(() => {
.table-card {
background: var(--vp-c-bg);
border-radius: 8px;
border-radius: 6px;
overflow: hidden;
border: 1px solid var(--vp-c-divider);
}
@@ -199,7 +199,7 @@ const filteredOrders = computed(() => {
.table-content {
max-height: 280px;
overflow-y: auto;
}
.table-row {
@@ -115,10 +115,10 @@ const tips = ref([
<style scoped>
.optimization-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -215,10 +215,10 @@ const setHover = (id) => {
<style scoped>
.relational-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -158,10 +158,10 @@ const currentOperation = computed(() => operations[currentOp.value])
<style scoped>
.sql-playground-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -115,10 +115,10 @@ const currentItem = computed(() => {
<style scoped>
.acid-demo {
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
background: var(--vp-c-bg-soft);
padding: 1rem;
margin: 1rem 0;
padding: 0.75rem;
margin: 0.5rem 0;
}
.demo-header {
@@ -163,7 +163,7 @@ const currentItem = computed(() => {
.acid-card {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
padding: 0.75rem;
text-align: center;
cursor: pointer;
@@ -205,8 +205,8 @@ const currentItem = computed(() => {
.detail-panel {
background: var(--vp-c-bg);
border-radius: 8px;
padding: 1rem;
border-radius: 6px;
padding: 0.75rem;
margin-bottom: 0.75rem;
border: 1px solid var(--vp-c-divider);
}