mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
[FLASK] Fix Snaps UI divider (#19919)
This commit is contained in:
parent
484dae32e8
commit
4918aa4c34
@ -44,7 +44,6 @@ export const safeComponentList = {
|
||||
SnapDelineator,
|
||||
Copyable,
|
||||
Spinner,
|
||||
hr: 'hr',
|
||||
SnapUIMarkdown,
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
};
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
&__divider {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
&__panel {
|
||||
|
@ -10,6 +10,7 @@ import {
|
||||
OverflowWrap,
|
||||
FontWeight,
|
||||
TextVariant,
|
||||
BorderColor,
|
||||
} from '../../../../helpers/constants/design-system';
|
||||
import { SnapDelineator } from '../snap-delineator';
|
||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||
@ -53,9 +54,12 @@ export const UI_MAPPING = {
|
||||
},
|
||||
}),
|
||||
divider: () => ({
|
||||
element: 'hr',
|
||||
element: 'Box',
|
||||
props: {
|
||||
className: 'snap-ui-renderer__divider',
|
||||
backgroundColor: BorderColor.borderDefault,
|
||||
marginTop: 2,
|
||||
marginBottom: 2,
|
||||
},
|
||||
}),
|
||||
copyable: (props) => ({
|
||||
|
Loading…
Reference in New Issue
Block a user