c6b2cbd75d
Fix footnote jump behavior on the issue page. ( #34621 )
...
Close #34511
Close #34590
Add comment ID to the footnote item's id attribute to ensure uniqueness.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-09 17:18:11 +00:00
charles and GitHub
a7594969b6
Fix the issue with error message logging for the check-attr command on Windows OS. ( #34035 )
...
Close #34022 , #33550
This error message always appears when using the `check-attr` command,
even though it works correctly.
The issue occurs when the stdin writer is closed, so I added a special
case to handle and check the error message when the exit code is 1.
2025-03-27 17:25:31 +08:00
b956cee06f
Fix file name could not be searched if the file was not a text file when using the Bleve indexer ( #33959 )
...
Close #33828
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-21 19:00:02 +00:00
e546480d0a
Fix large image overflow in comment page ( #31740 )
...
Close #31709
52px is calculate by avatar size in
templates\repo\issue\view_content\comments.tmpl
```html
<img src="{{.Poster.AvatarLink $.Context}}" width="40" height="40">
```
+
```css
.ui.comments .comment > .avatar ~ .content {
margin-left: 12px;
}
```

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-11-15 18:34:54 +00:00
6fced33581
Fix dropdown content overflow ( #31610 )
...
close #31602

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-10-13 02:43:43 +00:00
charles and GitHub
3269b04d61
Notify the user when the file path contains leading or trailing spaces and fix the error message for invalid file names. ( #31507 )
...
close #31478
2024-09-24 19:06:52 +00:00
charles and GitHub
f0033051d5
Fix markdown preview $$ support ( #31514 )
...
close #31481
currently `$$A + B$$ test` will ignore text after $$ block
test text

before fix

after fix

github display

2024-06-29 23:23:47 +00:00
charles and GitHub
d655ff18b3
Fix avatar radius problem on the new issue page ( #31506 )
...
Close #31502
Related to #31419 .
In this PR, the avatar width is set to 3em, but the height is not set,
so the image is not squared.
When object-fit is set to contain, it can't maintain the radius of the
image.
Result:

2024-06-27 14:04:05 +00:00
charles and GitHub
c60ef946b1
Fix the wrong line number in the diff view page when expanded twice. ( #31431 )
...
close #31149 , regression of #29385 (incorrect `data-query=`)
2024-06-20 17:43:42 +00:00
90a3c20e79
Fix markdown math brackets render problem ( #31420 )
...
Close #31371 , support `($ ... $)` like GitHub
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2024-06-20 02:12:54 +00:00
0c273f12e0
Fix commit_status problem when testing ( #29672 )
...
Close #29661
fix #29656
Co-authored-by: Giteabot <teabot@gitea.io >
2024-03-08 16:43:48 +01:00
7cf7a499be
Fixing the issue when status check per rule matches multiple actions ( #29631 )
...
Close #29628
rule
```
Test / Build*
Test / Build *
Test / Build 2*
Test / Build 1*
```

rule2
```
Test / Build*
Test / Build 1*
```

rule3
```
Test / Build*
Test / Build 1*
NotExist*
```

---------
Co-authored-by: Zettat123 <zettat123@gmail.com >
2024-03-08 05:02:13 +00:00
charles and GitHub
c660149a70
Do not exceed display for the PR page buttons on smaller screens ( #29418 )
...
Fixes #29189 .
This is the result after the fix at a width of 768 pixels.

2024-03-04 14:41:53 +00:00
charles and GitHub
423372d84a
Add a check for when the command is canceled by the program on Window… ( #29538 )
...
Close #29509
Windows, unlike Linux, does not have signal-specified exit codes.
Therefore, we should add a Windows-specific check for Windows. If we
don't do this, the logs will always show a failed status, even though
the command actually works correctly.
If you check the Go source code in exec_windows.go, you will see that it
always returns exit code 1.

The exit code 1 does not exclusively signify a SIGNAL KILL; it can
indicate any issue that occurs when a program fails.
2024-03-02 13:38:34 +00:00
charles and GitHub
9043584779
Fix issue link does not support quotes ( #29484 ) ( #29487 )
...
Close #29484

2024-03-02 09:54:46 +00:00
charles and GitHub
252047ed2e
Fix counter display number incorrectly displayed on the page ( #29448 )
...
issue : #28239
The counter number script uses the 'checkbox' attribute to determine
whether an item is selected or not.
However, the input event only increments the counter value, and when
more items are displayed, it does not update all previously loaded
items.
As a result, the display becomes incorrect because it triggers the
update counter script, but checkboxes that are selected without the
'checked' attribute are not counted
2024-02-28 21:23:49 +01:00