mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
fix(settings): fixed small issues with mobile
This commit is contained in:
parent
4ea97e0209
commit
13f119942c
5 changed files with 28 additions and 11 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 3839ed8df3caf75ff5e26f7227c0d0ac65b7ab3b
|
||||
Subproject commit d6c59b4665ec9fd0b47797b3bf82e458bc65ff51
|
|
@ -158,10 +158,10 @@
|
|||
|
||||
@media (pointer: coarse) {
|
||||
.item {
|
||||
height: 40px;
|
||||
height: 50px;
|
||||
|
||||
&.compact {
|
||||
height: var(--bottom-navigation-height);
|
||||
height: 50px;
|
||||
|
||||
> div {
|
||||
gap: 20px;
|
||||
|
|
|
@ -111,7 +111,7 @@ export default function App() {
|
|||
leftPanel={
|
||||
inSpecial
|
||||
? undefined
|
||||
: { width: 288, component: <LeftSidebar /> }
|
||||
: { width: 290, component: <LeftSidebar /> }
|
||||
}
|
||||
rightPanel={
|
||||
!inSpecial && inChannel
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue