mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-06 19:32:49 +08:00
web: center the disconnected/connecting state in the channel tree
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
e96eb62d90
commit
762554b39d
1 file changed
+12
-5
+12
-5
@@ -2042,6 +2042,17 @@
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disconnected/connecting: centered in the otherwise empty tree panel. */
|
||||||
|
.ts-tree-panel > .ts-tree-empty:only-child {
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.ts-tree-empty > button,
|
.ts-tree-empty > button,
|
||||||
.ts-tree-empty > a {
|
.ts-tree-empty > a {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -2050,6 +2061,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ts-tree-empty > .ts-mobile-connect-btn {
|
.ts-tree-empty > .ts-mobile-connect-btn {
|
||||||
|
flex: none;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -5456,11 +5468,6 @@ input.ts-identities-uid {
|
|||||||
|
|
||||||
/* Disconnected: the header already says so, keep the panel calm and centered. */
|
/* Disconnected: the header already says so, keep the panel calm and centered. */
|
||||||
.ts-app.ts-mobile .ts-tree-panel > .ts-tree-empty:only-child {
|
.ts-app.ts-mobile .ts-tree-panel > .ts-tree-empty:only-child {
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
|
|||||||
Reference in new issue
Block a user