diff options
author | crupest <crupest@outlook.com> | 2022-05-02 18:16:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-02 18:16:34 +0800 |
commit | d432de8bcbd49da247817258046ef913be999b2f (patch) | |
tree | 8d04d7ece604f65038232bdea114616ba074cf01 /FrontEnd/src/views/settings/index.tsx | |
parent | 793504c6f6c3cc03bbeb60a99947a40b4ce7742c (diff) | |
download | timeline-d432de8bcbd49da247817258046ef913be999b2f.tar.gz timeline-d432de8bcbd49da247817258046ef913be999b2f.tar.bz2 timeline-d432de8bcbd49da247817258046ef913be999b2f.zip |
...
Diffstat (limited to 'FrontEnd/src/views/settings/index.tsx')
-rw-r--r-- | FrontEnd/src/views/settings/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/views/settings/index.tsx b/FrontEnd/src/views/settings/index.tsx index f5d26e69..de5253dd 100644 --- a/FrontEnd/src/views/settings/index.tsx +++ b/FrontEnd/src/views/settings/index.tsx @@ -74,7 +74,7 @@ function SettingItemContainer({ )} onClick={onClick} > - <div className="px-0 col col-12 col-sm-auto"> + <div className="px-0 col col-auto"> <div className={classNames(danger && "cru-color-danger")}> {convertI18nText(title, t)} </div> @@ -82,7 +82,7 @@ function SettingItemContainer({ {convertI18nText(subtext, t)} </small> </div> - <div className="col col-12 col-sm-auto">{children}</div> + <div className="col col-auto">{children}</div> </div> ); } @@ -197,7 +197,7 @@ const SettingsPage: React.FC = (_) => { ) : registerCode === null ? ( <span>Noop</span> ) : ( - <code>{registerCode}</code> + <code className="register-code">{registerCode}</code> )} </SettingItemContainer> <ButtonSettingItem |