summaryrefslogtreecommitdiff
path: root/src/ollama_web/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/ollama_web/static/style.css')
-rw-r--r--src/ollama_web/static/style.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ollama_web/static/style.css b/src/ollama_web/static/style.css
index 2b6d4bc..beb65d1 100644
--- a/src/ollama_web/static/style.css
+++ b/src/ollama_web/static/style.css
@@ -282,6 +282,20 @@ body {
display: inline;
}
+/* Touch devices cannot reliably reveal hover-only controls. Keep the action
+ visible and large enough to tap without changing the desktop interaction. */
+@media (max-width: 768px), (hover: none), (pointer: coarse) {
+ #session-list li .delete {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 44px;
+ min-height: 44px;
+ flex-shrink: 0;
+ touch-action: manipulation;
+ }
+}
+
#session-list li.empty {
color: var(--muted);
font-size: 13px;
@@ -692,6 +706,16 @@ button#send-btn { padding: 0 20px; }
flex-direction: column;
}
+.confirm-modal-content {
+ width: min(420px, 100%);
+}
+
+.delete-session-status {
+ min-height: 20px;
+ color: var(--danger);
+ font-size: 13px;
+}
+
.modal-header {
display: flex;
align-items: center;
@@ -755,6 +779,12 @@ button#send-btn { padding: 0 20px; }
background: transparent;
}
+.modal-footer button.danger {
+ background: var(--danger);
+ border-color: var(--danger);
+ color: #fff;
+}
+
.mcp-server-card {
background: var(--bg);
border: 1px solid var(--border);