mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 03:55:51 +01:00
Replace styled-components with bulma helpers (#1783)
Use Bulma helpers whenever possible instead of custom styled components. This pull request replaces primarily color definitions, spacing and flex instructions.
This commit is contained in:
@@ -56,19 +56,19 @@ const ApiKeyCreatedModal: FC<Props> = ({ addedKey, close }) => {
|
||||
};
|
||||
|
||||
const newPassphraseModalContent = (
|
||||
<div className={"media-content"}>
|
||||
<div className="media-content">
|
||||
<p>{t("apiKey.modal.text1")}</p>
|
||||
<p>
|
||||
<b>{t("apiKey.modal.text2")}</b>
|
||||
</p>
|
||||
<hr />
|
||||
<div className={"columns"}>
|
||||
<div className={"column is-11"}>
|
||||
<KeyArea wrap={"soft"} ref={keyRef} className={"input"} value={addedKey.token} />
|
||||
<div className="columns">
|
||||
<div className="column is-11">
|
||||
<KeyArea wrap={"soft"} ref={keyRef} className="input" value={addedKey.token} />
|
||||
</div>
|
||||
<NoLeftMargin className={"column is-1"}>
|
||||
<NoLeftMargin className="column is-1">
|
||||
<Icon
|
||||
className={"is-hidden-mobile fa-2x"}
|
||||
className="is-hidden-mobile fa-2x"
|
||||
name={copied ? "clipboard-check" : "clipboard"}
|
||||
title={t("apiKey.modal.clipboard")}
|
||||
onClick={copy}
|
||||
|
||||
Reference in New Issue
Block a user