Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacbc03d

Browse files
nekiworickstaa
andauthored
Fix card length during error (anuraghazra#2105)
* Fix card length during errorFixesanuraghazra#1774The size of the box should be 550px to allow 25px padding from both sidesI found the width of the text using `getComputedTextLength()` method* fix: improve error card sizeCo-authored-by: rickstaa <rick.staa@outlook.com>
1 parent388ba06 commitacbc03d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/common/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import { themes } from "../../themes/index.js";
1111
*/
1212
constrenderError=(message,secondaryMessage="")=>{
1313
return`
14-
<svg width="495" height="120" viewBox="0 0495 120" fill="none" xmlns="http://www.w3.org/2000/svg">
14+
<svg width="576.5" height="120" viewBox="0 0576.5 120" fill="none" xmlns="http://www.w3.org/2000/svg">
1515
<style>
1616
.text { font: 600 16px 'Segoe UI', Ubuntu, Sans-Serif; fill: #2F80ED }
1717
.small { font: 600 12px 'Segoe UI', Ubuntu, Sans-Serif; fill: #252525 }
1818
.gray { fill: #858585 }
1919
</style>
20-
<rect x="0.5" y="0.5" width="494" height="99%" rx="4.5" fill="#FFFEFE" stroke="#E4E2E2"/>
20+
<rect x="0.5" y="0.5" width="575.5" height="99%" rx="4.5" fill="#FFFEFE" stroke="#E4E2E2"/>
2121
<text x="25" y="45" class="text">Something went wrong! file an issue at https://tiny.one/readme-stats</text>
2222
<text data-testid="message" x="25" y="55" class="text small">
2323
<tspan x="25" dy="18">${encodeHTML(message)}</tspan>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp