mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
fix: make the create group button do the correct thing
This commit is contained in:
parent
bdc84b1d98
commit
b2c24d33ed
2 changed files with 6 additions and 4 deletions
|
@ -26,9 +26,9 @@
|
|||
}
|
||||
|
||||
.actions {
|
||||
//grid-template-columns: repeat(2, 300px);
|
||||
grid-template-columns: 300px 300px;
|
||||
//grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
// grid-template-columns: repeat(2, 300px);
|
||||
// grid-template-columns: 300px 300px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
grid-column: span 2;
|
||||
gap: 16px;
|
||||
//margin: auto;
|
||||
|
|
|
@ -17,6 +17,8 @@ import "./snow.scss";
|
|||
import { Text } from "preact-i18n";
|
||||
import { useContext, useMemo } from "preact/hooks";
|
||||
|
||||
import { isTouchscreenDevice } from "../../lib/isTouchscreenDevice";
|
||||
|
||||
import { useApplicationState } from "../../mobx/State";
|
||||
|
||||
import { AppContext } from "../../context/revoltjs/RevoltClient";
|
||||
|
@ -50,7 +52,7 @@ export default observer(() => {
|
|||
);
|
||||
|
||||
const seasonalTheme = state.settings.get("appearance:seasonal") ?? true;
|
||||
const isDecember = new Date().getMonth() === 11;
|
||||
const isDecember = !isTouchscreenDevice && new Date().getMonth() === 11;
|
||||
const snowflakes = useMemo(() => {
|
||||
const flakes = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue