File tree Expand file tree Collapse file tree 4 files changed +10
-38
lines changed
ui/components/app/shield-entry-modal Expand file tree Collapse file tree 4 files changed +10
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11.shield-entry-modal {
22 & __header {
3- background : url (' /images/shield-entry-header.svg' ) no-repeat right -20px center ;
4- background-color : var (--color-accent03-dark );
5- background-size : 180px ;
6- }
7- & __title {
8- color : var (--color-accent03-normal );
3+ background : url (' /images/shield-entry-modal-banner.png' );
4+ background-size : cover ;
5+ background-position : center ;
6+ background-repeat : no-repeat ;
97 }
108}
Original file line number Diff line number Diff line change @@ -51,24 +51,13 @@ export default function ShieldEntryModal({
5151 >
5252 { /* TODO: update with full image banner */ }
5353 < ModalHeader
54- paddingTop = { 4 }
55- className = "shield-entry-modal__header h-[160px] flex items-center"
54+ className = "shield-entry-modal__header h-[160px]"
5655 data-theme = { ThemeType . dark }
57- >
58- < Text
59- variant = { TextVariant . displayMd }
60- className = "shield-entry-modal__title"
61- >
62- { t ( 'shieldEntryModalTitle' ) }
63- </ Text >
64- < ButtonIcon
65- iconName = { IconName . Close }
66- ariaLabel = { t ( 'close' ) }
67- size = { ButtonIconSize . Sm }
68- className = "absolute top-2 right-2"
69- onClick = { onClose }
70- />
71- </ ModalHeader >
56+ closeButtonProps = { {
57+ className : 'absolute top-2 right-2' ,
58+ } }
59+ onClose = { onClose }
60+ />
7261 < ModalBody paddingTop = { 4 } >
7362 < Text variant = { TextVariant . headingMd } marginBottom = { 1 } >
7463 { t ( 'shieldEntryModalSubtitle' ) }
You can’t perform that action at this time.
0 commit comments