Skip to content

Commit

Permalink
input width
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Aug 8, 2024
1 parent bf5d1a3 commit b36b25f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/components/adminPage/controller/zerotierUrl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ZerotierUrl = () => {
label={t("controller.controllerConfig.local_zerotier_url")}
description={t("controller.controllerConfig.submit_empty_field_default")}
size="sm"
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
disabled={me?.options.urlFromEnv}
fields={[
{
Expand All @@ -89,7 +89,7 @@ const ZerotierUrl = () => {
isLoading={meLoading}
label={t("controller.controllerConfig.zerotier_secret")}
description={t("controller.controllerConfig.submit_empty_field_default")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
size="sm"
disabled={me?.options.secretFromEnv}
fields={[
Expand Down
2 changes: 1 addition & 1 deletion src/components/adminPage/users/userGroups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const UserGroups = () => {
<InputFields
isLoading={false}
label={t("users.groups.addGroup.addGroupLabel")}
rootFormClassName="flex flex-col space-y-2 w-3/6"
rootFormClassName="flex flex-col space-y-2 w-6/6 sm:w-3/6"
size="sm"
placeholder=""
buttonText={t("users.groups.addGroup.addGroupButton")}
Expand Down
10 changes: 5 additions & 5 deletions src/pages/admin/mail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Mail = () => {
<EditableField
isLoading={false}
label={t("mail.smtpHost")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
// buttonClassName="hidden"
size="sm"
fields={[
Expand All @@ -85,7 +85,7 @@ const Mail = () => {
<EditableField
isLoading={false}
label={t("mail.smtpPort")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
size="sm"
fields={[
{
Expand All @@ -101,7 +101,7 @@ const Mail = () => {
<EditableField
isLoading={false}
label={t("mail.senderEmail")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
size="sm"
fields={[
{
Expand All @@ -117,7 +117,7 @@ const Mail = () => {
<EditableField
isLoading={false}
label={t("mail.username")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
size="sm"
fields={[
{
Expand All @@ -133,7 +133,7 @@ const Mail = () => {
<EditableField
isLoading={false}
label={t("mail.password")}
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
size="sm"
fields={[
{
Expand Down
10 changes: 5 additions & 5 deletions src/pages/user-settings/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Account = () => {
<InputField
label={t("userSettings.account.accountSettings.nameLabel")}
isLoading={!session?.user}
rootFormClassName="space-y-3 w-3/6"
rootFormClassName="space-y-3 w-6/6 sm:w-3/6"
size="sm"
fields={[
{
Expand All @@ -85,7 +85,7 @@ const Account = () => {
<InputField
label={t("userSettings.account.accountSettings.emailLabel")}
isLoading={!session?.user}
rootFormClassName="space-y-3 w-3/6"
rootFormClassName="space-y-3 w-6/6 sm:w-3/6"
size="sm"
// badge={
// session?.user?.emailVerified
Expand Down Expand Up @@ -124,7 +124,7 @@ const Account = () => {
label={t("userSettings.account.accountSettings.passwordLabel")}
placeholder="******"
size="sm"
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
description="Ensure your account is using a long, random password to stay secure."
fields={[
{
Expand Down Expand Up @@ -236,7 +236,7 @@ const Account = () => {
label="Zerotier Central API Key"
placeholder="******"
size="sm"
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
fields={[
{
name: "ztCentralApiKey",
Expand Down Expand Up @@ -267,7 +267,7 @@ const Account = () => {
label={t("userSettings.account.zerotierCentral.apiUrlLabel")}
description={t("userSettings.account.zerotierCentral.apiUrlLabelDescription")}
size="sm"
rootFormClassName="space-y-3 pt-2 w-3/6"
rootFormClassName="space-y-3 pt-2 w-6/6 sm:w-3/6"
rootClassName="py-2"
fields={[
{
Expand Down

0 comments on commit b36b25f

Please sign in to comment.