Fix overly wide source link button

Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2735
This commit is contained in:
Raymond Hill 2023-07-17 09:17:33 -04:00
parent e06e80eccf
commit cf43be53a6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 4 additions and 2 deletions

View File

@ -173,7 +173,7 @@
flex-grow: 1; flex-grow: 1;
} }
.cm-search-widget > :last-child { .cm-search-widget > :last-child {
justify-content: flex-end; text-align: end;
} }
.cm-search-widget-input { .cm-search-widget-input {

View File

@ -473,7 +473,9 @@ import { i18n$ } from '../i18n.js';
'<span class="cm-linter-widget-up cm-search-widget-button fa-icon">angle-up</span>&nbsp;' + '<span class="cm-linter-widget-up cm-search-widget-button fa-icon">angle-up</span>&nbsp;' +
'<span class="cm-linter-widget-down cm-search-widget-button fa-icon fa-icon-vflipped">angle-up</span>&emsp;' + '<span class="cm-linter-widget-down cm-search-widget-button fa-icon fa-icon-vflipped">angle-up</span>&emsp;' +
'</span>' + '</span>' +
'<span>' +
'<a class="fa-icon sourceURL" href>external-link</a>' + '<a class="fa-icon sourceURL" href>external-link</a>' +
'</span>' +
'</div>' + '</div>' +
'</div>'; '</div>';
const domParser = new DOMParser(); const domParser = new DOMParser();