Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp
1.4 KB
Raw Blame
/* SPDX-License-Identifier: AGPL-3.0-or-later */

.modalRoot {
	composes: root default from '@app/features/app/components/dialogs/Modal.module.css';
	width: 36.25rem;
	max-width: min(36.25rem, calc(100vw - 2rem));
	min-height: 26.25rem;
	height: 27.5rem;
	max-height: min(30rem, calc(100svh - 6rem));
	border-radius: 1rem;
	padding: 0;
	overflow: hidden;
	background: var(--background-primary);
}

@media screen and (max-width: 720px) {
	.modalRoot {
		width: min(100%, calc(100vw - 2rem));
		min-height: 22.5rem;
		height: auto;
		max-height: calc(100svh - 3rem);
	}
}

.modalContent {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

.modalLayout {
	display: grid;
	grid-template-columns: 6rem minmax(0, 1fr);
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: var(--background-primary);
}

.sidebar {
	display: flex;
	flex-direction: column;
	background: var(--background-secondary);
	height: 100%;
	min-height: 0;
	overflow: hidden;
	width: 6rem;
	min-width: 6rem;
}

.reactionFiltersPane {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	padding: 0;
}

.reactionListContainer {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0.45rem;
	padding-top: 0;
	background: var(--background-secondary);
}