Cherry pick for add icon size refactor to main (#3273)
* Translated using Weblate (Malayalam) Currently translated at 100.0% (303 of 303 strings) Translation: Focalboard/webapp Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/ * Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: Focalboard/webapp Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: Focalboard/webapp Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ Update translation files Updated by "Cleanup translation files" hook in Weblate. Translation: Focalboard/webapp Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ * Translated using Weblate (German) Currently translated at 100.0% (312 of 312 strings) Translation: Focalboard/webapp Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/ * Resized the add icon button in card Dailog Co-authored-by: Varghese Jose <varghese.jose@tutanota.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: jprusch <rs@schaeferbarthold.de>
This commit is contained in:
parent
1207a22291
commit
ca922dbc1e
1 changed files with 8 additions and 2 deletions
|
@ -13,7 +13,7 @@ import mutator from '../../mutator'
|
||||||
import Button from '../../widgets/buttons/button'
|
import Button from '../../widgets/buttons/button'
|
||||||
import {Focusable} from '../../widgets/editable'
|
import {Focusable} from '../../widgets/editable'
|
||||||
import EditableArea from '../../widgets/editableArea'
|
import EditableArea from '../../widgets/editableArea'
|
||||||
import EmojiIcon from '../../widgets/icons/emoji'
|
import CompassIcon from '../../widgets/icons/compassIcon'
|
||||||
import TelemetryClient, {TelemetryActions, TelemetryCategory} from '../../telemetry/telemetryClient'
|
import TelemetryClient, {TelemetryActions, TelemetryCategory} from '../../telemetry/telemetryClient'
|
||||||
|
|
||||||
import BlockIconSelector from '../blockIconSelector'
|
import BlockIconSelector from '../blockIconSelector'
|
||||||
|
@ -113,8 +113,14 @@ const CardDetail = (props: Props): JSX.Element|null => {
|
||||||
{!props.readonly && canEditBoardCards && !card.fields.icon &&
|
{!props.readonly && canEditBoardCards && !card.fields.icon &&
|
||||||
<div className='add-buttons'>
|
<div className='add-buttons'>
|
||||||
<Button
|
<Button
|
||||||
|
emphasis='default'
|
||||||
|
size='small'
|
||||||
onClick={setRandomIcon}
|
onClick={setRandomIcon}
|
||||||
icon={<EmojiIcon/>}
|
icon={
|
||||||
|
<CompassIcon
|
||||||
|
icon='emoticon-outline'
|
||||||
|
/>}
|
||||||
|
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='CardDetail.add-icon'
|
id='CardDetail.add-icon'
|
||||||
|
|
Loading…
Reference in a new issue