fix(settings): fixed small issues with mobile

This commit is contained in:
trashtemp 2022-01-20 11:03:47 +01:00
parent 4ea97e0209
commit 13f119942c
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
5 changed files with 28 additions and 11 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 3839ed8df3caf75ff5e26f7227c0d0ac65b7ab3b
Subproject commit d6c59b4665ec9fd0b47797b3bf82e458bc65ff51

View file

@ -158,10 +158,10 @@
@media (pointer: coarse) {
.item {
height: 40px;
height: 50px;
&.compact {
height: var(--bottom-navigation-height);
height: 50px;
> div {
gap: 20px;

View file

@ -111,7 +111,7 @@ export default function App() {
leftPanel={
inSpecial
? undefined
: { width: 288, component: <LeftSidebar /> }
: { width: 290, component: <LeftSidebar /> }
}
rightPanel={
!inSpecial && inChannel

View file

@ -94,6 +94,10 @@
background-clip: content-box;
border-top: 80px solid transparent;
}
.container {
max-width: 300px;
}
}
.settings {
@ -124,18 +128,13 @@
.container {
min-width: 218px;
padding: 80px 8px;
display: flex;
gap: 2px;
flex-direction: column;
}
@media only screen and (min-width: 800px) {
.container {
max-width: 300px;
}
}
.divider {
height: 30px;
}

View file

@ -53,9 +53,10 @@ export default defineConfig({
name: "Revolt",
short_name: "Revolt",
description: "User-first, privacy-focused chat platform.",
categories: ["messaging"],
categories: ["communication", "chat", "messaging"],
start_url: "/",
orientation: "portrait",
/*display_override: ["window-controls-overlay"],*/
display: "standalone",
background_color: "#101823",
theme_color: "#101823",
@ -83,6 +84,23 @@ export default defineConfig({
purpose: "maskable",
},
],
//TODO: add shortcuts relating to your last opened direct messages
/*shortcuts: [
{
"name": "Open Play Later",
"short_name": "Play Later",
"description": "View the list of podcasts you saved for later",
"url": "/play-later?utm_source=homescreen",
"icons": [{ "src": "/icons/play-later.png", "sizes": "192x192" }]
},
{
"name": "View Subscriptions",
"short_name": "Subscriptions",
"description": "View the list of podcasts you listen to",
"url": "/subscriptions?utm_source=homescreen",
"icons": [{ "src": "/icons/subscriptions.png", "sizes": "192x192" }]
}
]*/
},
}),
replace({