Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

apply scrollbar tricks to moz browser; make scroll colors on emoji picker easier to see; make emoji hover color easier to see

Ginger Wongcec33452ec01
diff --git a/webroot/js/app.js b/webroot/js/app.js
index 9fe34ca406..96eea8520e 100644
--- a/webroot/js/app.js
+++ b/webroot/js/app.js
@@ -554,7 +554,7 @@ export default class App extends Component {
websocket=${websocket}
username=${username}
userAvatarImage=${userAvatarImage}
- chatInputEnabled=${chatInputEnabled}
+ chatInputEnabled=${true||chatInputEnabled}
/>
</div>
`;
diff --git a/webroot/styles/app.css b/webroot/styles/app.css
index 30774ee2be..d3fa92a3e5 100644
--- a/webroot/styles/app.css
+++ b/webroot/styles/app.css
@@ -14,6 +14,7 @@ May have overrides for other components with own stylesheets.
html {
font-size: 14px;
+ scrollbar-width: none;
}
a:hover {
@@ -24,6 +25,9 @@ a:hover {
width: 0px;
background: transparent;
}
+.scrollbar-hidden {
+ scrollbar-width: none; /* moz only */
+}
#app-container * {
diff --git a/webroot/styles/chat.css b/webroot/styles/chat.css
index eab6d9932f..362c2c7acf 100644
--- a/webroot/styles/chat.css
+++ b/webroot/styles/chat.css
@@ -80,6 +80,7 @@
.emoji-picker.owncast {
--secondary-text-color: rgba(255,255,255,.5);
--category-button-color: rgba(255,255,255,.5);
+ --hover-color: rgba(255,255,255,.25);
background: rgba(26,32,44,1); /* tailwind bg-gray-900 */
color: rgba(226,232,240,1); /* tailwind text-gray-300 */
@@ -101,15 +102,19 @@
}
.emoji-picker__emojis::-webkit-scrollbar-track {
border-radius: 8px;
- background-color: rgba(0,0,0,.2);
+ background-color: black;
box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.emoji-picker__emojis::-webkit-scrollbar-thumb {
- background-color: rgba(0,0,0,.45);
+ background-color: var(--category-button-color);
border-radius: 8px;
}
+.emoji-picker__emojis {
+ scrollbar-color: var(--category-button-color) black;
+}
+
/******************************/