File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
DrefOperationalUpdateForm Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 isTruthyString ,
1919} from '@togglecorp/fujs' ;
2020import {
21- DownloadTwoLineIcon ,
21+ DownloadTwoLineIcon , ShareLineIcon ,
2222} from '@ifrc-go/icons' ;
2323
2424import { type FieldReportItem as FieldReportSearchItem } from '#components/domain/FieldReportSearchSelectInput' ;
@@ -516,13 +516,16 @@ export function Component() {
516516 < Button
517517 name = { undefined }
518518 onClick = { handleShareClick }
519+ variant = "secondary"
520+ icons = { < ShareLineIcon /> }
519521 >
520522 { strings . formShareButtonLabel }
521523 </ Button >
522524 < Button
523525 name = { undefined }
524526 onClick = { handleExportClick }
525527 icons = { < DownloadTwoLineIcon /> }
528+ variant = "secondary"
526529 >
527530 { strings . formExportLabel }
528531 </ Button >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 isTruthyString ,
1919} from '@togglecorp/fujs' ;
2020import {
21- DownloadTwoLineIcon ,
21+ DownloadTwoLineIcon , ShareLineIcon ,
2222} from '@ifrc-go/icons' ;
2323
2424import Page from '#components/Page' ;
@@ -407,14 +407,16 @@ export function Component() {
407407 name = { undefined }
408408 onClick = { setShowShareModalTrue }
409409 disabled = { isNotDefined ( drefId ) }
410+ variant = "secondary"
411+ icons = { < ShareLineIcon /> }
410412 >
411413 { strings . formShareButtonLabel }
412414 </ Button >
413415 < Button
414416 name = { undefined }
415417 onClick = { setShowExportModalTrue }
416418 icons = { < DownloadTwoLineIcon /> }
417- disabled = { isNotDefined ( drefId ) }
419+ variant = "secondary"
418420 >
419421 { strings . formExportLabel }
420422 </ Button >
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
1111import {
1212 ErrorWarningFillIcon ,
1313 DownloadTwoLineIcon ,
14+ ShareLineIcon ,
1415} from '@ifrc-go/icons' ;
1516import {
1617 useForm ,
@@ -628,13 +629,16 @@ export function Component() {
628629 name = { undefined }
629630 onClick = { handleShareClick }
630631 disabled = { isNotDefined ( drefId ) }
632+ icons = { < ShareLineIcon /> }
633+ variant = "secondary"
631634 >
632635 { strings . formShareButtonLabel }
633636 </ Button >
634637 < Button
635638 name = { undefined }
636639 onClick = { handleExportClick }
637640 icons = { < DownloadTwoLineIcon /> }
641+ variant = "secondary"
638642 >
639643 { strings . formExportLabel }
640644 </ Button >
Original file line number Diff line number Diff line change 3939 }
4040
4141 .iframe-content {
42- display : flex;
43- align-items : center;
44- justify-content : center;
45-
4642 .ppp-iframe {
4743 border : none;
48- /* background-color: var(--go-ui-color-gray-30); */
49- width : 75% ;
44+ width : 100% ;
5045 height : 54rem ;
5146 }
5247 }
You can’t perform that action at this time.
0 commit comments