ant-design/d5545f4d-async.0ad30552.js
2024-11-20 18:30:54 +00:00

1 line
1.5 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["d5545f4d"],{d5545f4d:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"texts",{enumerable:!0,get:function(){return n;}}),t("91917379");let n=[{value:"When several items are in close proximity to each other, they become one visual unit rather than several separate units. Otherwise, their distance should be larger and look more like several visual units. The basic purpose of proximity is to organize. To give an apparent view of the page structure and the hierarchy of information to users.",paraId:0},{value:"\n ",paraId:1},{value:"Divide the hierarchy of information through three formats:\u300Csmall spacing\u300D, \u300Cmiddle spacing\u300Dand\u300Clarge spacing\u300D",paraId:2},{value:"\n ",paraId:3},{value:"In the case that the three formats are applicable, the hierarchy of information can be separated clearly through adding or cutting down the multiple of \u300Cbasic spacing\u300D, or adding elements.",paraId:4},{value:"Note: in Ant Design, y = 8 + 8 * n, among which, n >= 0, y stands for the vertical spacing and 8 represents \u300Cbasic spacing\u300D.",paraId:5},{value:"\n ",paraId:6},{value:"To adapt to screens of different sizes, in the horizontal direction, use grid layout to arrange the components to ensure the flexibility of the layout.",paraId:7},{value:"\n ",paraId:8},{value:"In the inner of a component, the horizontal spacing of elements should differ too.",paraId:9}];}}]);