style: playground right side
This commit is contained in:
@@ -28,6 +28,10 @@
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.m-l-24 {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.m-l-4 {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
@@ -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" />
|
||||
]}
|
||||
|
||||
@@ -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" />
|
||||
]}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
]}
|
||||
|
||||
@@ -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" />
|
||||
]}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
.box {
|
||||
width: 390px;
|
||||
padding-inline: var(--layout-content-inlinepadding);
|
||||
padding-inline: 24px;
|
||||
}
|
||||
|
||||
&.collapsed {
|
||||
|
||||
@@ -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" />
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user