Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: Infobox and text block padding (#100)
Browse files Browse the repository at this point in the history
* Add infobox padding

* infobox and text block padding

* fix titles and descriptions

* update textBlock padding IDs

* add Japanese translation

Co-authored-by: basel.issmail <basel.issmail@gmail.com>
  • Loading branch information
mimoham24 and Basel-Issmail committed Jan 21, 2022
1 parent 5591948 commit ddd0dbf
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
56 changes: 56 additions & 0 deletions pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,34 @@ extensions:
- id: title
type: string
title: Title
- id: infoboxPaddingTop
type: number
title: Top padding
min: 0
max: 40
suffix: px
description: "The space between the top of the infobox and the title. Min: 0 Max: 40"
- id: infoboxPaddingBottom
type: number
title: Bottom padding
min: 0
max: 40
suffix: px
description: "The space between the bottom of the infobox and the last block. Min: 0 Max: 40"
- id: infoboxPaddingLeft
type: number
title: Left padding
min: 0
max: 40
suffix: px
description: "The space between the left side of the infobox and the title and blocks. Min: 0 Max: 40"
- id: infoboxPaddingRight
type: number
title: Right padding
min: 0
max: 40
suffix: px
description: "The space between the right side of the infobox and the title and blocks. Min: 0 Max: 40"
- id: size
type: string
title: Size Type
Expand Down Expand Up @@ -1168,6 +1196,34 @@ extensions:
- id: markdown
type: bool
title: Use markdown
- id: paddingTop
type: number
title: Top padding
min: 0
max: 40
suffix: px
description: "The space between the top edge of the text block and the uppermost text. Min: 0 Max: 40"
- id: paddingBottom
type: number
title: Bottom padding
min: 0
max: 40
suffix: px
description: "The space between the bottom edge of the text block and the last text. Min: 0 Max: 40"
- id: paddingLeft
type: number
title: Left padding
min: 0
max: 40
suffix: px
description: "The space between the left edge of the text block and the text. Min: 0 Max: 40"
- id: paddingRight
type: number
title: Right padding
min: 0
max: 40
suffix: px
description: "The space between the right edge of the text block and the text. Min: 0 Max: 40"
- id: typography
type: typography
title: Font
Expand Down
24 changes: 24 additions & 0 deletions pkg/builtin/manifest_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,18 @@ extensions:
propertySchema:
default:
title: インフォボックス
paddingTop:
title: 余白上
description: "上端の余白を設定します。最小0px・最大40ox"
paddingBottom:
title: 余白下
description: "下端の余白を設定します。最小0px・最大40ox"
paddingLeft:
title: 余白左
description: "左端の余白を設定します。最小0px・最大40ox"
paddingRight:
title: 余白右
description: "右端の余白を設定します。最小0px・最大40ox"
fields:
title:
title: タイトル
Expand Down Expand Up @@ -526,6 +538,18 @@ extensions:
title: コンテンツ
markdown:
title: マークダウン
paddingTop:
title: 余白上
description: "上端の余白を設定します。最小0px・最大40ox"
paddingBottom:
title: 余白下
description: "下端の余白を設定します。最小0px・最大40ox"
paddingLeft:
title: 余白左
description: "左端の余白を設定します。最小0px・最大40ox"
paddingRight:
title: 余白右
description: "右端の余白を設定します。最小0px・最大40ox"
typography:
title: フォント
imageblock:
Expand Down

0 comments on commit ddd0dbf

Please sign in to comment.