Jelajahi Sumber

style: fix more detail

afc163 8 tahun lalu
induk
melakukan
9ace75b9c0

+ 1 - 0
src/components/Charts/TagCloud/index.less

@@ -1,4 +1,5 @@
 .tagCloud {
 .tagCloud {
+  overflow: hidden;
   canvas {
   canvas {
     transform: scale(0.25);
     transform: scale(0.25);
     transform-origin: 0 0;
     transform-origin: 0 0;

+ 1 - 1
src/routes/Dashboard/Monitor.js

@@ -103,7 +103,7 @@ export default class Monitor extends PureComponent {
               bordered={false}
               bordered={false}
               className={styles.pieCard}
               className={styles.pieCard}
             >
             >
-              <Row gutter={4} style={{ padding: '16px 0' }}>
+              <Row style={{ padding: '16px 0' }}>
                 <Col span={8}>
                 <Col span={8}>
                   <Pie
                   <Pie
                     animate={false}
                     animate={false}

+ 15 - 16
src/routes/Forms/BasicForm.js

@@ -156,22 +156,21 @@ export default class BasicForms extends PureComponent {
                     <Radio value="3">不公开</Radio>
                     <Radio value="3">不公开</Radio>
                   </Radio.Group>
                   </Radio.Group>
                 )}
                 )}
-                <FormItem>
-                  {getFieldDecorator('publicUsers', {
-                    })(
-                      <Select
-                        mode="multiple"
-                        placeholder="公开给"
-                        style={{
-                          margin: '8px 0',
-                          display: getFieldValue('public') === '2' ? 'block' : 'none',
-                        }}
-                      >
-                        <Option value="1">同事甲</Option>
-                        <Option value="2">同事乙</Option>
-                        <Option value="3">同事丙</Option>
-                      </Select>
-                    )}
+                <FormItem style={{ marginBottom: 0 }}>
+                  {getFieldDecorator('publicUsers')(
+                    <Select
+                      mode="multiple"
+                      placeholder="公开给"
+                      style={{
+                        margin: '8px 0',
+                        display: getFieldValue('public') === '2' ? 'block' : 'none',
+                      }}
+                    >
+                      <Option value="1">同事甲</Option>
+                      <Option value="2">同事乙</Option>
+                      <Option value="3">同事丙</Option>
+                    </Select>
+                  )}
                 </FormItem>
                 </FormItem>
               </div>
               </div>
             </FormItem>
             </FormItem>