Skip to content

Commit

Permalink
1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Nov 6, 2022
1 parent 9586872 commit 038a0cc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.8.1

Fixed display of combined messages with Avatars disabled.

Fixed flavor-text duplication for Request Roll messages in Monk's TokenBar module.

# 1.8.0

Fixed visual styling of Narrator Tools and Alpha Suit modules in the Controls.
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"flags": {}
}
],
"version": "1.8.0",
"version": "1.8.1",
"compatibility": {
"minimum": "10",
"verified": "10"
Expand Down Expand Up @@ -59,6 +59,6 @@
],
"styles": ["styles/fonts.css"],
"scripts": ["scripts/dorako-ui.js"],
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.8.0.zip",
"download": "https://github.com/Dorako/pf2e-dorako-ui/archive/refs/tags/v1.8.1.zip",
"manifest": "https://github.com/Dorako/pf2e-dorako-ui/releases/latest/download/module.json"
}
4 changes: 2 additions & 2 deletions scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ function themeHeader(html, message) {

function moveFlavorTextToContents(html) {
let flavor = html.find(".flavor-text")[0];
let contents = html.find(".message-content");
contents.prepend(flavor);
let contents = html.find(".message-content")[0];
if (flavor) contents.prepend(flavor);
}

function injectSenderWrapper(html, messageData) {
Expand Down
18 changes: 17 additions & 1 deletion styles/chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ button {




.dfce-cm-middle>.message-header .sender-wrapper,
.dfce-cm-bottom>.message-header .sender-wrapper,
.dfce-cm-middle>.message-header>.message-metadata,
.dfce-cm-bottom>.message-header>.message-metadata {
display: none;
Expand Down Expand Up @@ -414,6 +415,15 @@ button {
margin-left: 0px; */
}

.message.dfce-cm-bottom .message-header,
.message.dfce-cm-middle .message-header {
background: transparent;
box-shadow: none;
text-shadow: 0px 0px 1px white;
margin: 0px;
padding: 0px;
padding-right: 5px;
}

.message.dfce-cm-top {
border-bottom-style: none !important;
Expand Down Expand Up @@ -1475,6 +1485,12 @@ div#scrollToBottom:hover {
background-blend-mode: multiply;
}

.message.dfce-cm-middle .message-header.light-header-text,
.message.dfce-cm-bottom .message-header.light-header-text {
color: var(--pf2e-body-primary);
text-shadow: var(--pf2e-shadow-is-light);
}

.message .message-header {
text-shadow: var(--pf2e-shadow-is-light);
color: black;
Expand Down

0 comments on commit 038a0cc

Please sign in to comment.