mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: optimzie emoji align on desktop (#5857)
This commit is contained in:
@ -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,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user