diff --git a/src/client/ui/chat/index.vue b/src/client/ui/chat/index.vue
index d1579038c7..e8cda62742 100644
--- a/src/client/ui/chat/index.vue
+++ b/src/client/ui/chat/index.vue
@@ -121,8 +121,8 @@
-
-
+
+
@@ -193,6 +193,7 @@ export default defineComponent({
featuredChannels: null,
currentChannel: null,
menuDef: sidebarDef,
+ sideViewOpening: false,
instanceName,
faLayerGroup, faBars, faBell, faHome, faCircle, faPencilAlt, faShareAlt, faSatelliteDish, faListUl, faSatellite, faCog, faSearch, faPlus, faStar, farStar, faAt, faLink, faEllipsisH, faGlobe, faComments, faEnvelope,
};
@@ -564,6 +565,12 @@ export default defineComponent({
> .side {
width: 350px;
border-left: solid 1px var(--divider);
+
+ &.widgets.sideViewOpening {
+ @media (max-width: 1400px) {
+ display: none;
+ }
+ }
}
}
diff --git a/src/client/ui/chat/side.vue b/src/client/ui/chat/side.vue
index 9b15c72841..0003158e53 100644
--- a/src/client/ui/chat/side.vue
+++ b/src/client/ui/chat/side.vue
@@ -1,13 +1,11 @@
-
-
-
-
-
+
+
+
@@ -64,6 +62,7 @@ export default defineComponent({
const { component, props } = resolve(path);
this.component = component;
this.props = props;
+ this.$emit('open');
},
back() {
@@ -74,6 +73,7 @@ export default defineComponent({
this.path = null;
this.component = null;
this.props = {};
+ this.$emit('close');
},
onContextmenu(e) {
@@ -114,46 +114,44 @@ export default defineComponent({