mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 13:28:25 +00:00 
			
		
		
		
	Remove "TODO" tasks from CSS file (#26835)
1. Use `gt-invisible` instead of `invisible`. 2. Use `gt-word-break` instead of `dont-break-out` (there is a slight different "hyphens", but I think it won't affect too much since it is only used for the "full name"). 3. Remove `.small.button:has(svg)` , now our buttons could layout SVG correctly, and actually I didn't see this CSS class is used in code.
This commit is contained in:
		@@ -110,7 +110,7 @@ export function initRepoIssueSidebarList() {
 | 
			
		||||
            }
 | 
			
		||||
            filteredResponse.results.push({
 | 
			
		||||
              name: `#${issue.number} ${htmlEscape(issue.title)
 | 
			
		||||
              }<div class="text small dont-break-out">${htmlEscape(issue.repository.full_name)}</div>`,
 | 
			
		||||
              }<div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`,
 | 
			
		||||
              value: issue.id,
 | 
			
		||||
            });
 | 
			
		||||
          });
 | 
			
		||||
@@ -178,9 +178,9 @@ export function initRepoIssueCommentDelete() {
 | 
			
		||||
          const idx = $conversationHolder.data('idx');
 | 
			
		||||
          const lineType = $conversationHolder.closest('tr').data('line-type');
 | 
			
		||||
          if (lineType === 'same') {
 | 
			
		||||
            $(`[data-path="${path}"] .add-code-comment[data-idx="${idx}"]`).removeClass('invisible');
 | 
			
		||||
            $(`[data-path="${path}"] .add-code-comment[data-idx="${idx}"]`).removeClass('gt-invisible');
 | 
			
		||||
          } else {
 | 
			
		||||
            $(`[data-path="${path}"] .add-code-comment[data-side="${side}"][data-idx="${idx}"]`).removeClass('invisible');
 | 
			
		||||
            $(`[data-path="${path}"] .add-code-comment[data-side="${side}"][data-idx="${idx}"]`).removeClass('gt-invisible');
 | 
			
		||||
          }
 | 
			
		||||
          $conversationHolder.remove();
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user