style: playground right side

This commit is contained in:
jialin
2026-01-14 16:01:47 +08:00
parent c813344c7c
commit fc4d71139a
12 changed files with 15 additions and 14 deletions
+4
View File
@@ -28,6 +28,10 @@
margin-left: 5px;
}
.m-l-24 {
margin-left: 24px;
}
.m-l-4 {
margin-left: 4px;
}
+1 -1
View File
@@ -91,7 +91,7 @@ const PlaygroundEmbedding: React.FC = () => {
<Divider
key="divider"
orientation="vertical"
style={{ height: 24, marginInline: 16 }}
style={{ height: 16, marginInline: 16 }}
/>,
<ExtraContent key="extra-content" />
]}
+2 -2
View File
@@ -137,7 +137,7 @@ const TextToImages: React.FC = () => {
<Segmented
options={optionsList}
size="middle"
className="m-l-40 font-600"
className="m-l-24 font-600"
value={activeKey}
onChange={(key) => setActiveKey(key)}
></Segmented>
@@ -170,7 +170,7 @@ const TextToImages: React.FC = () => {
<Divider
key="divider"
orientation="vertical"
style={{ height: 24, marginInline: 16 }}
style={{ height: 16, marginInline: 16 }}
/>,
<ExtraContent key="extra-content" />
]}
+1 -1
View File
@@ -120,7 +120,7 @@ const Playground: React.FC = () => {
<Segmented
options={optionsList}
size="middle"
className="m-l-40 font-600"
className="m-l-24 font-600"
value={activeKey}
onChange={(key) => setActiveKey(key)}
></Segmented>
+1 -1
View File
@@ -95,7 +95,7 @@ const PlaygroundRerank: React.FC = () => {
<Divider
key="divider"
orientation="vertical"
style={{ height: 24, marginInline: 16 }}
style={{ height: 16, marginInline: 16 }}
/>,
<ExtraContent key="extra-content" />
]}
+2 -2
View File
@@ -174,7 +174,7 @@ const Playground: React.FC = () => {
<Segmented
options={optionsList}
size="middle"
className="m-l-40 font-600"
className="m-l-24 font-600"
value={activeKey}
onChange={(key) => setActiveKey(key)}
></Segmented>
@@ -207,7 +207,7 @@ const Playground: React.FC = () => {
<Divider
key="divider"
orientation="vertical"
style={{ height: 24, marginInline: 16 }}
style={{ height: 16, marginInline: 16 }}
/>,
<ExtraContent key="extra-content" />
]}
+1 -1
View File
@@ -19,7 +19,7 @@
.box {
width: 390px;
padding-inline: var(--layout-content-inlinepadding);
padding-inline: 24px;
}
&.collapsed {
+1 -1
View File
@@ -91,7 +91,7 @@ const PlaygroundRerank: React.FC = () => {
<Divider
key="divider"
orientation="vertical"
style={{ height: 24, marginInline: 16 }}
style={{ height: 16, marginInline: 16 }}
/>,
<ExtraContent key="extra-content" />
]}