fix activity filter panel width

This commit is contained in:
saml33 2023-05-09 20:15:56 +10:00
parent 2ec0d7b314
commit 6228b80b4c
4 changed files with 6 additions and 6 deletions

View File

@ -125,14 +125,14 @@ const ActivityFilters = () => {
return mangoAccountAddress ? (
<Disclosure>
<div className="flex items-center">
<div className="flex items-center pl-2">
{hasFilters ? (
<Tooltip
className="hidden md:block"
content={t('activity:reset-filters')}
>
<IconButton
className={`${loadActivityFeed ? 'animate-spin' : ''}`}
className={`ml-2 ${loadActivityFeed ? 'animate-spin' : ''}`}
onClick={() => handleResetFilters()}
size="small"
>
@ -164,7 +164,7 @@ const ActivityFilters = () => {
</div>
{showFilters ? (
<Disclosure.Panel
className="absolute top-[98px] left-0 z-10 w-full border-t border-th-bkg-3 bg-th-bkg-2 px-6 pb-6 shadow-md sm:top-14"
className="absolute top-[114px] left-0 z-10 w-full border-t border-th-bkg-3 bg-th-bkg-2 px-6 pb-6 shadow-md sm:top-14"
static
>
<FiltersForm

View File

@ -183,7 +183,7 @@ const HistoryTabs = () => {
setActiveTab={setActiveTab}
tabs={TABS}
/>
<div className="flex items-center justify-end space-x-2 border-b border-th-bkg-3 py-3 pr-4 sm:absolute sm:bottom-0 sm:top-0 sm:right-0 sm:border-b-0 sm:py-0 md:pr-6">
<div className="flex w-full items-center justify-end border-b border-th-bkg-3 py-3 pr-4 sm:-mt-14 sm:h-14 sm:border-b-0 sm:py-0 md:pr-6">
{!isUnownedAccount ? (
<LinkButton
className="flex items-center font-normal no-underline"

View File

@ -54,6 +54,6 @@
"trade-layout": "交易布局",
"trading-view": "Trading View",
"transaction-fail": "交易失败",
"transaction-success": "交易成功"
"transaction-success": "交易成功",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving"
}

View File

@ -54,6 +54,6 @@
"trade-layout": "交易佈局",
"trading-view": "Trading View",
"transaction-fail": "交易失敗",
"transaction-success": "交易成功"
"transaction-success": "交易成功",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving"
}