Fix Mobile UI for /settings/security (#2703)
* Fix Mobile UI * Remove truncate * Move buttons Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
6c27b04f83
commit
fb042a36b6
3 files changed
+8
-8
No files matched your search
@@ -24,12 +24,12 @@ export default function ApiKeyListContainer() {
|
||||
query={query}
|
||||
success={({ data }) => (
|
||||
<>
|
||||
<div className="flex flex-row justify-between truncate pl-2 pr-1 ">
|
||||
<div className=" flex flex-col justify-between truncate pl-2 pr-1 sm:flex-row">
|
||||
<div className="mt-9">
|
||||
<h2 className="font-cal text-lg font-medium leading-6 text-gray-900">{t("api_keys")}</h2>
|
||||
<p className="mt-1 mb-5 text-sm text-gray-500">{t("api_keys_subtitle")}</p>
|
||||
</div>
|
||||
<div className="self-center">
|
||||
<div className="mb-9 sm:self-center">
|
||||
<Button StartIcon={PlusIcon} color="secondary" onClick={() => setNewApiKeyModal(true)}>
|
||||
{t("generate_new_api_key")}
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user