mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
chore: optimzie emoji align on desktop (#5857)
This commit is contained in:
parent
c2e8a12427
commit
04556252e1
3 changed files with 6 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ class _WorkspaceIconState extends State<WorkspaceIcon> {
|
|||
child: FlowyText.emoji(
|
||||
widget.workspace.icon,
|
||||
fontSize: widget.emojiSize ?? widget.iconSize,
|
||||
figmaLineHeight: 21.0,
|
||||
),
|
||||
)
|
||||
: Container(
|
||||
|
|
|
|||
|
|
@ -491,7 +491,8 @@ class _SingleInnerViewItemState extends State<SingleInnerViewItem> {
|
|||
final name = FlowyText.regular(
|
||||
widget.view.name,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
// figmaLineHeight: 18.0,
|
||||
fontSize: 14.0,
|
||||
figmaLineHeight: 18.0,
|
||||
);
|
||||
final children = [
|
||||
const HSpace(2),
|
||||
|
|
@ -573,6 +574,7 @@ class _SingleInnerViewItemState extends State<SingleInnerViewItem> {
|
|||
? FlowyText.emoji(
|
||||
widget.view.icon.value,
|
||||
fontSize: 16.0,
|
||||
figmaLineHeight: 21.0,
|
||||
)
|
||||
: Opacity(opacity: 0.6, child: widget.view.defaultIcon());
|
||||
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ class _ViewTitleState extends State<_ViewTitle> {
|
|||
FlowyText.emoji(
|
||||
state.icon,
|
||||
fontSize: 14.0,
|
||||
figmaLineHeight: 18.0,
|
||||
),
|
||||
const HSpace(4.0),
|
||||
],
|
||||
|
|
@ -248,6 +249,7 @@ class _ViewTitleState extends State<_ViewTitle> {
|
|||
state.name,
|
||||
fontSize: 14.0,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
figmaLineHeight: 18.0,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue