fix(TextChat): allow space for scrollbar in gradient block (#988)

This commit is contained in:
Danny Avila 2023-09-24 19:59:32 -04:00 committed by GitHub
parent 1bf6c259b9
commit 7abc5bc670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ export default function TextChat({ isSearchView = false }) {
return ( return (
<> <>
<div <div
className="no-gradient-sm fixed bottom-0 left-0 w-full pt-6 sm:bg-gradient-to-b md:absolute" className="no-gradient-sm fixed bottom-0 left-0 w-full pt-6 sm:bg-gradient-to-b md:absolute md:w-[calc(100%-.5rem)]"
style={{ style={{
background: `linear-gradient(to bottom, background: `linear-gradient(to bottom,
${isDark ? 'rgba(52, 53, 65, 0)' : 'rgba(255, 255, 255, 0)'}, ${isDark ? 'rgba(52, 53, 65, 0)' : 'rgba(255, 255, 255, 0)'},