Compare commits
14 Commits
main
...
cb52a55895
Author | SHA1 | Date | |
---|---|---|---|
cb52a55895 | |||
4148444e91 | |||
de14b95f9a | |||
4f80119c83 | |||
80b2093202 | |||
3d4afc4341 | |||
49a87237ec | |||
0737e14472 | |||
226ea38e4d | |||
559fe731e0 | |||
e8eb56d0b7 | |||
1b97366cd8 | |||
1f3eee9889 | |||
772c1c1d14 |
@ -31,3 +31,40 @@
|
||||
min-height: max(30vh, 200px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query for mobile devices */
|
||||
@media only screen and (max-width: 50vw) {
|
||||
#peertube-plugin-livechat-container converse-root {
|
||||
|
||||
converse-muc {
|
||||
min-height: 62vh;
|
||||
/* 100vh - 30vh for video = 70vh remaining */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query for tablets in portrait mode */
|
||||
@media only screen and (min-width: 50vw) and (max-width: 75vw) {
|
||||
#peertube-plugin-livechat-container converse-root {
|
||||
converse-muc {
|
||||
min-height: 62vh;
|
||||
/* Slightly less to account for other elements */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query for tablets in landscape mode */
|
||||
@media only screen and (min-width: 76vw) and (max-width: 100vw) {
|
||||
#peertube-plugin-livechat-container converse-root {
|
||||
converse-muc {
|
||||
min-height: 62vh;
|
||||
/* Assuming more height can be used */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* custom toolbar CSS */
|
||||
|
||||
.send-button {
|
||||
border-radius: 0.25rem !important;
|
||||
}
|
@ -65,7 +65,7 @@ body.converse-embedded converse-root.theme-peertube {
|
||||
--chat-background-color: var(--peertube-main-background);
|
||||
--chat-textarea-color: var(--peertube-input-foreground);
|
||||
--chat-textarea-background-color: var(--peertube-input-background);
|
||||
--chat-textarea-height: 60px;
|
||||
--chat-textarea-height: 38px;
|
||||
--send-button-height: 27px;
|
||||
--send-button-margin: 3px;
|
||||
--inline-action-margin: 0.75em;
|
||||
|
@ -170,7 +170,8 @@ body.converse-embedded {
|
||||
#peertube-plugin-livechat-container {
|
||||
converse-muc-message-form {
|
||||
// For an unknown reason, message field in truncated... so adding a bottom margin.
|
||||
margin-bottom: 6px;
|
||||
max-height: 1.25rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
12
package.json
12
package.json
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "peertube-plugin-livechat",
|
||||
"description": "PeerTube plugin livechat: create chat rooms for your Peertube lives! Comes with many features: federation, moderation tools, chat bot, chat persistence, OBS integration, ...",
|
||||
"description": "NCTV fork of the peertube-plugin-livechat plugin, containing styling and other shit. This will be maintained with upstream.",
|
||||
"version": "10.1.2",
|
||||
"license": "AGPL-3.0",
|
||||
"author": {
|
||||
"name": "John Livingston",
|
||||
"url": "https://github.com/JohnXLivingston"
|
||||
"name": "Matty Boombalatty",
|
||||
"url": "https://gitea.nicecrew.digital/matty"
|
||||
},
|
||||
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
|
||||
"bugs": "https://gitea.nicecrew.digital/matty/peertube-plugin-livechat/issues",
|
||||
"clientScripts": [
|
||||
{
|
||||
"script": "dist/client/common-client-plugin.js",
|
||||
@ -82,8 +82,8 @@
|
||||
"engines": {
|
||||
"npm": ">=7"
|
||||
},
|
||||
"homepage": "https://livingston.frama.io/peertube-plugin-livechat/",
|
||||
"repository": "github:JohnXLivingston/peertube-plugin-livechat",
|
||||
"homepage": "https://nicecrew.tv",
|
||||
"repository": "https://gitea.nicecrew.digital/matty/peertube-plugin-livechat",
|
||||
"keywords": [
|
||||
"peertube",
|
||||
"plugin"
|
||||
|
Reference in New Issue
Block a user