style(danisman): sohbet yüzeyleri bg-white → bg-card (main'deki commit'lenmemiş koyu tema düzeltmesi dala taşındı)
main çalışma ağacındaki aynı 6 satırlık değişiklik fast-forward merge'ü engelliyordu; içerik birebir buraya alındı. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@ export function DanismanBaslik() {
|
|||||||
export function DanismanAvatar({ canli = false }: { canli?: boolean }) {
|
export function DanismanAvatar({ canli = false }: { canli?: boolean }) {
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
className="mt-0.5 flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-slate-200 bg-white"
|
className="mt-0.5 flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-slate-200 bg-card"
|
||||||
aria-hidden
|
aria-hidden
|
||||||
>
|
>
|
||||||
{canli ? (
|
{canli ? (
|
||||||
@@ -455,7 +455,7 @@ export function SohbetClient({
|
|||||||
<section
|
<section
|
||||||
aria-label="Danışman sohbeti"
|
aria-label="Danışman sohbeti"
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex flex-col overflow-hidden rounded-2xl border border-slate-200 bg-white",
|
"flex flex-col overflow-hidden rounded-2xl border border-slate-200 bg-card",
|
||||||
// 18rem: sticky ofset (top-28 = 7rem) + geniş alt boşluk — eski 24rem
|
// 18rem: sticky ofset (top-28 = 7rem) + geniş alt boşluk — eski 24rem
|
||||||
// sohbeti sıkıştırıyordu, 10-14rem denemeleri fazla yüksek geldi;
|
// sohbeti sıkıştırıyordu, 10-14rem denemeleri fazla yüksek geldi;
|
||||||
// panel görünür ama sayfaya baskın değil.
|
// panel görünür ama sayfaya baskın değil.
|
||||||
@@ -474,7 +474,7 @@ export function SohbetClient({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Danışmanın bildikleri"
|
aria-label="Danışmanın bildikleri"
|
||||||
className="inline-flex size-7 cursor-help items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition-colors hover:bg-slate-100 hover:text-slate-800"
|
className="inline-flex size-7 cursor-help items-center justify-center rounded-full border border-slate-200 bg-card text-slate-600 transition-colors hover:bg-slate-100 hover:text-slate-800"
|
||||||
>
|
>
|
||||||
<Info className="size-3.5" aria-hidden />
|
<Info className="size-3.5" aria-hidden />
|
||||||
</button>
|
</button>
|
||||||
@@ -505,7 +505,7 @@ export function SohbetClient({
|
|||||||
onClick={() => setTemizleAcik(true)}
|
onClick={() => setTemizleAcik(true)}
|
||||||
disabled={bekliyor || temizleniyor}
|
disabled={bekliyor || temizleniyor}
|
||||||
aria-label="Sohbeti temizle"
|
aria-label="Sohbeti temizle"
|
||||||
className="inline-flex size-7 cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition-[background-color,transform] duration-150 hover:bg-slate-100 hover:text-slate-800 active:scale-[0.96] disabled:cursor-not-allowed disabled:opacity-50"
|
className="inline-flex size-7 cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-card text-slate-600 transition-[background-color,transform] duration-150 hover:bg-slate-100 hover:text-slate-800 active:scale-[0.96] disabled:cursor-not-allowed disabled:opacity-50"
|
||||||
title="Sohbet geçmişini sil"
|
title="Sohbet geçmişini sil"
|
||||||
>
|
>
|
||||||
<Trash2 className="size-3.5" aria-hidden />
|
<Trash2 className="size-3.5" aria-hidden />
|
||||||
@@ -535,7 +535,7 @@ export function SohbetClient({
|
|||||||
// Etkileşimli çip (§4.17 kalıbı, kompakt h-8): rozet değil.
|
// Etkileşimli çip (§4.17 kalıbı, kompakt h-8): rozet değil.
|
||||||
<span
|
<span
|
||||||
key={s.alan}
|
key={s.alan}
|
||||||
className="inline-flex h-8 items-center gap-1 rounded-full border border-slate-200 bg-white pr-1 pl-3 text-xs font-semibold text-slate-700"
|
className="inline-flex h-8 items-center gap-1 rounded-full border border-slate-200 bg-card pr-1 pl-3 text-xs font-semibold text-slate-700"
|
||||||
>
|
>
|
||||||
{s.metin}
|
{s.metin}
|
||||||
<button
|
<button
|
||||||
@@ -736,7 +736,7 @@ export function SohbetClient({
|
|||||||
<ChatContainerScrollAnchor />
|
<ChatContainerScrollAnchor />
|
||||||
</ChatContainerContent>
|
</ChatContainerContent>
|
||||||
<div className="absolute bottom-4 right-4">
|
<div className="absolute bottom-4 right-4">
|
||||||
<ScrollButton className="cursor-pointer bg-white shadow-md" />
|
<ScrollButton className="cursor-pointer bg-card shadow-md" />
|
||||||
</div>
|
</div>
|
||||||
</ChatContainerRoot>
|
</ChatContainerRoot>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user