introduced size="fab" prop to Button, added to CTA buttons (#6176)

* introduced size="fab" prop to Button, added to CTA buttons

* increased size of FAB

* nit
This commit is contained in:
Peer Richelsen authored and GitHub committed 2023-01-02 09:28:12 +01:00
1 parent 5503539856
commit 71ee9c72fe
9 files changed
+100 -76

No files matched your search

+5 -2
View File
@@ -14,8 +14,11 @@ function Teams() {
heading={t("teams")}
subtitle={t("create_manage_teams_collaborative")}
CTA={
<Button type="button" href={`${WEBAPP_URL}/settings/teams/new?returnTo=/teams`}>
<Icon.FiPlus className="inline-block h-3.5 w-3.5 text-white group-hover:text-black ltr:mr-2 rtl:ml-2" />
<Button
size="fab"
StartIcon={Icon.FiPlus}
type="button"
href={`${WEBAPP_URL}/settings/teams/new?returnTo=/teams`}>
{t("new")}
</Button>
}>
-18
View File
@@ -215,17 +215,6 @@ button[role="switch"][data-state="checked"] {
background: black;
}
/* add padding bottom to bottom nav on standalone mode */
@media all and (display-mode: standalone) {
.bottom-nav {
padding-bottom: 24px;
}
.cta {
bottom: 100px;
}
}
/* hide chat bubble on mobile */
@media only screen and (max-width: 768px) {
/* Intercom FAB*/
@@ -247,13 +236,6 @@ button[role="switch"][data-state="checked"] {
}
}
/* add padding bottom to bottom nav on standalone mode */
@media all and (display-mode: standalone) {
.bottom-nav {
padding-bottom: 24px;
}
}
.react-multi-email > [type="text"] {
@apply dark:placeholder:text-darkgray-600 focus:border-brand dark:border-darkgray-300 dark:text-darkgray-900 block w-full rounded-md border-gray-300 text-sm focus:ring-black disabled:bg-gray-200 disabled:hover:cursor-not-allowed dark:bg-transparent dark:selection:bg-green-500 disabled:dark:text-gray-500 dark:text-white;
}