Skip to content

Commit

Permalink
Fix description text styling
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenbf committed Dec 11, 2024
1 parent ce046b8 commit 50367f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.add-web3Id-credential-x {
.add-web3-id-credential-x {
&__error {
color: $color-red-attention;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { Web3IdCardRaw } from '@popup/popupX/shared/Web3IdCard/Web3IdCard';
import Page from '@popup/popupX/shared/Page';
import Button from '@popup/popupX/shared/Button';
import { fullscreenPromptContext } from '@popup/popupX/page-layouts/FullscreenPromptLayout';
import Text from '@popup/popupX/shared/Text';

type Props = {
onAllow(key: string): void;
Expand Down Expand Up @@ -247,15 +248,15 @@ export default function AddWeb3IdCredential({ onAllow, onReject }: Props) {
<Page.Top heading={t('title')} />
<Page.Main>
{error && (
<div className="add-web3Id-credential-x__error">
<div className="add-web3-id-credential-x__error">
{t('error.initial')}
<br />
{error}
</div>
)}
{!error && schema && metadata && (
<>
<div>{t('description', { dapp: urlDisplay })}</div>
<Text.Capture>{t('description', { dapp: urlDisplay })}</Text.Capture>
<Web3IdCardRaw
attributes={credential.credentialSubject.attributes}
className="m-t-10"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default, FileInput } from './FileInput';
export { FileInput } from './FileInput';
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
@import '../pages/prompts/SignCis3Message/SignCis3Message';
@import '../pages/prompts/SignMessage/SignMessage';
@import '../pages/prompts/SendTransaction/SendTransaction';
@import '../pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential';
@import '../pages/SubmittedTransaction/SubmittedTransaction';
@import '../page-layouts/MainLayout';
@import '../page-layouts/ExternalRequestLayout/ExternalRequestLayout';
Expand Down

0 comments on commit 50367f0

Please sign in to comment.