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

Improving the issue of line breaks in Chinese #27

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/_locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"fullName": {
"message": "BiliBili Sponsor Block",
"message": "B站空降助手",
"description": "Name of the extension."
},
"shortName": {
"message": "Bili Sponsor Block"
"message": "空降助手"
},
"Description": {
"message": "廣告?桌子都給你掀了(/= _ =)/~┴┴ 帶您精準跳轉到高能時刻,自動跳過影片中的贊助廣告、訂閱提醒等片段。您也可以親自標記影片中的廣告並上傳,所有人都會從您的貢獻中受益。",
Expand Down
20 changes: 17 additions & 3 deletions public/options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -696,10 +696,21 @@ svg {
width: 100%;
font-size: 30px;
padding: 10px;
}
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}

#title .profilepic {
height: 40px;
margin-right: 10px;
}

#title .title-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

#createdBy {
Expand All @@ -721,8 +732,11 @@ svg {
#version {
font-size: 10px;
height: 10px;
transform: translate(-50px, -5px);
}
width: 100%;
text-align: center;
margin-top: 5px;
padding-right: 80px;
}

.sticky #menubar {
position: fixed;
Expand Down
4 changes: 3 additions & 1 deletion public/options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

<div id="title" class="titleBar">
<img src="../icons/LogoSponsorBlocker256px.png" class="profilepic" alt="SponsorBlock logo" />
__MSG_fullName__
NeKoOuO marked this conversation as resolved.
Show resolved Hide resolved
<div class="title-text">
__MSG_fullName__
</div>
<div id="version"></div>
</div>

Expand Down