Skip to content

Commit fbaff5f

Browse files
authored
Merge pull request #551 from JustinFreitas/party-sheet-button-fix
2 parents 1f5f80d + cd07054 commit fbaff5f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/module/helpers-party.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const addControl = (object, html) => {
77
const control = `<button class='ose-party-sheet' type="button" title='${game.i18n.localize(
88
"OSE.dialog.partysheet"
99
)}'><i class='fas fa-users'></i></button>`;
10-
html.find(".fas.fa-search").replaceWith($(control));
10+
html.find(".toggle-search-mode").before($(control));
1111
html.find(".ose-party-sheet").click((ev) => {
1212
ev.preventDefault();
1313
Hooks.call("OSE.Party.showSheet");

src/scss/apps.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,10 @@
239239
#sidebar #actors .directory-header .header-search {
240240
.ose-party-sheet {
241241
width: 32px;
242+
height: 25px;
242243
text-align: center;
243-
line-height: 20px;
244+
line-height: 23px;
245+
margin: 4px;
244246
}
245247

246248
input {

0 commit comments

Comments
 (0)