mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 22:48:12 +01:00
Header and composer float over the thread, like the ChatGPT and Claude apps: words scroll under both and fade, header buttons are frosted pills (ck-glass), the composer is a see-through pill. The scroller is padded by the measured heights (--ck-top-inset / --ck-bottom-inset), so the last answer rests above the composer. useStickToBottom now stays pinned through size changes (a growing composer, insets measured after paint). The user's bubble is neutral (--ck-bubble), not the accent. Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE Co-authored-by: Claude <noreply@anthropic.com>
24 lines
644 B
HTML
24 lines
644 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content"
|
|
/>
|
|
<title>chatkit — full screen</title>
|
|
<link rel="stylesheet" href="../node_modules/@bitbaum/design-tokens/tokens.css" />
|
|
<link rel="stylesheet" href="../styles.css" />
|
|
<style>
|
|
/* ChatScreen is the whole page: nothing else here on purpose. */
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="screen"></div>
|
|
<script src="./dist/demo.js"></script>
|
|
</body>
|
|
</html>
|