Skip to content

Commit dcd054b

Browse files
committed
fix(file actions): Icons need to be display block
1 parent 2e0498f commit dcd054b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9898,7 +9898,7 @@ class Uh extends kr {
98989898
super(), Fr(this, e, Mh, kh, gr, {});
98999899
}
99009900
}
9901-
const Js = "application/internet-shortcut", Ks = () => '<span class="icon-link"></span>';
9901+
const Js = "application/internet-shortcut", Ks = () => '<span class="icon-link" style="display: block;"></span>';
99029902
window.OC.dialogs.alert = function(n, e) {
99039903
window.OC.dialogs.message(
99049904
t("files_linkeditor", "This link-file doesn't seem to be valid. – You can fix this by editing the file."),

src/lib/Linkeditor-next.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Parser } from "./Parser";
44
import { Permission, registerFileAction, addNewFileMenuEntry, DefaultType } from "@nextcloud/files";
55

66
const supportedMimetype = "application/internet-shortcut";
7-
const getSpanWithIconClass = () => '<span class="icon-link"></span>';
7+
const getSpanWithIconClass = () => '<span class="icon-link" style="display: block;"></span>';
88

99
// Mokey-patch OC.dialogs, since somebody misspelled Dialogs.OK_BUTTON/S/...
1010
window.OC.dialogs.alert = function (title, message) {

0 commit comments

Comments
 (0)