windows: the app's Telegram proxy page
tg-ws-proxy on or off and its state; its tg:// links, to copy or open in Telegram (none without the secrets scope, and the page says so); whether other devices may connect; its port and fake-TLS domain (which adds the ee link). Long links are cut short rather than widening the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c9ce7a1982
commit
7dfb3129f4
4 files changed
+170
-3
No files matched your search
@@ -11,7 +11,7 @@ pub fn brand(cx: &App) -> impl IntoElement {
|
||||
|
||||
/// A page: its title, then what is under it.
|
||||
pub fn page(title: &'static str, cx: &App) -> Div {
|
||||
div().v_flex().gap_4().p_6().w_full().max_w(px(920.)).child(div().text_xl().font_semibold().text_color(cx.theme().foreground).child(title))
|
||||
div().v_flex().gap_4().p_6().w_full().min_w_0().max_w(px(920.)).child(div().text_xl().font_semibold().text_color(cx.theme().foreground).child(title))
|
||||
}
|
||||
|
||||
/// A bordered section of a page, titled, with what it controls on the right of the title.
|
||||
@@ -20,6 +20,7 @@ pub fn card(title: impl Into<SharedString>, action: Option<AnyElement>, cx: &App
|
||||
.v_flex()
|
||||
.gap_3()
|
||||
.p_4()
|
||||
.min_w_0()
|
||||
.rounded_lg()
|
||||
.border_1()
|
||||
.border_color(cx.theme().border)
|
||||
|
||||
Reference in new issue
Block a user