File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
richtext-lexical/src/features/blocks/client/component Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export const DocumentTabLink: React.FC<{
5959 className = { [ baseClass , isActive && `${ baseClass } --active` ] . filter ( Boolean ) . join ( ' ' ) }
6060 disabled = { isActive }
6161 el = { ! isActive || href !== pathname ? 'link' : 'div' }
62+ margin = { false }
6263 newTab = { newTab }
6364 size = "medium"
6465 to = { ! isActive || href !== pathname ? hrefWithLocale : undefined }
Original file line number Diff line number Diff line change @@ -437,6 +437,7 @@ export const BlockComponent: React.FC<Props> = (props) => {
437437 < Pill
438438 className = { `${ baseClass } __block-pill ${ baseClass } __block-pill-${ formData ?. blockType } ` }
439439 pillStyle = "white"
440+ size = "small"
440441 >
441442 { blockDisplayName ?? formData ?. blockType }
442443 </ Pill >
Original file line number Diff line number Diff line change 175175 --btn-icon-border-color : currentColor ;
176176 --btn-icon-padding : 0px ; // This will be needed when we make icons go edge to edge instead of having built in padding in the svg code
177177 --btn-icon-content-gap : calc (var (--base ) * 0.4 );
178- --margin-block : base ( 1.2 );
178+ --margin-block : calc ( var ( --base ) * 1.2 );
179179 --btn-line-height : calc (var (--base ) * 1.2 );
180180
181181 border-radius : var (--style-radius-s );
233233 }
234234
235235 & .btn--size-small {
236- padding : base (0.2 );
236+ padding : calc ( var ( -- base) * (0.2 ) );
237237 }
238238 }
239239
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ export const BlockRow: React.FC<BlocksFieldProps> = ({
157157 < Pill
158158 className = { `${ baseClass } __block-pill ${ baseClass } __block-pill-${ row . blockType } ` }
159159 pillStyle = "white"
160+ size = "small"
160161 >
161162 { getTranslation ( block . labels . singular , i18n ) }
162163 </ Pill >
You can’t perform that action at this time.
0 commit comments