Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signature換行問題 #274

Open
Wayne881004 opened this issue Jun 16, 2020 · 2 comments
Open

signature換行問題 #274

Wayne881004 opened this issue Jun 16, 2020 · 2 comments

Comments

@Wayne881004
Copy link

Q1: 請問要怎讓signature的文字可以換行?
signature:"Taipei
CSIE" 試過沒有用

Q2: 請問要怎讓右上的button 不要跟著main_title更動?

@LolipopJ
Copy link
Collaborator

LolipopJ commented May 22, 2021

請問要怎讓signature的文字可以換行?

这个问题应该属于 .yml 文件的语法知识,可以参考这个教程

多行字符串可以使用 | 保留换行符,也可以使用 > 折叠换行。

this: |
  Foo
  Bar
that: >
  Foo
  Bar

转为 JavaScript 代码如下。

{ this: 'Foo\nBar\n', that: 'Foo Bar\n' }

請問要怎讓右上的button 不要跟著main_title更動?

作为设计的一部分,我们让它写在 <Header /> 元素上,并随着此元素运动。

左下角回到顶部的浮动按钮未来也将随侧边栏打开而运动。

如果您希望该元素不运动,可以在代码中将此元素作为单独的元素,放在页面上,而不是 <Header /> 的子元素。

@LolipopJ
Copy link
Collaborator

LolipopJ commented Jun 5, 2021

請問要怎讓右上的button 不要跟著main_title更動?

很抱歉,之前以为是“左上”的按钮。🥺

右上的按钮的话,需要设置 <Header /> 随左侧侧边栏打开时,自动重新计算宽度。

目前的实现是左侧侧边栏打开时,右边的整体向右侧移动一定距离,于是右上角的按钮就被隐藏掉了。

关于这个问题,可能会在以后进行修复。我将重新打开这个 Issue 供后来的维护者查阅。

@LolipopJ LolipopJ reopened this Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants