fix: app list item ui issues in /settings/my-account/conferencing (#6565)
* fix: border color * fix: padding and title line-height * feat: add app-list card * feat: use the AppListCard component * nit: remove unused imports
This commit is contained in:
1 parent
cfaecc3e02
commit
8ee109e975
4 files changed
+51
-20
No files matched your search
@@ -423,7 +423,7 @@ function ShellHeader() {
|
||||
const { t, isLocaleReady } = useLocale();
|
||||
return (
|
||||
<header className="mx-auto block justify-between pt-8 sm:flex">
|
||||
<div className="mb-8 flex w-full items-center border-b border-gray-200 pb-8">
|
||||
<div className="mb-8 flex w-full items-center border-b border-gray-200 pb-6">
|
||||
{meta.backButton && (
|
||||
<a href="javascript:history.back()">
|
||||
<Icon.FiArrowLeft className="mr-7" />
|
||||
@@ -431,7 +431,9 @@ function ShellHeader() {
|
||||
)}
|
||||
<div>
|
||||
{meta.title && isLocaleReady ? (
|
||||
<h1 className="font-cal mb-1 text-xl font-bold tracking-wide text-black">{t(meta.title)}</h1>
|
||||
<h1 className="font-cal mb-1 text-xl font-bold leading-5 tracking-wide text-black">
|
||||
{t(meta.title)}
|
||||
</h1>
|
||||
) : (
|
||||
<div className="mb-1 h-6 w-24 animate-pulse rounded-md bg-gray-200" />
|
||||
)}
|
||||
|
||||
@@ -17,7 +17,7 @@ export function List(props: ListProps) {
|
||||
"-mx-4 rounded-sm sm:mx-0 sm:overflow-hidden ",
|
||||
// Add rounded top and bottome if roundContainer is true
|
||||
props.roundContainer && "[&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md ",
|
||||
!props.noBorderTreatment && "divide-y divide-neutral-200 rounded-md border border-l border-r ",
|
||||
!props.noBorderTreatment && "divide-y divide-gray-200 rounded-md border border-l border-r ",
|
||||
props.className
|
||||
)}>
|
||||
{props.children}
|
||||
|
||||
Reference in new issue
Block a user