File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
src/routes/page/conversation Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 374374 </div>
375375 </CardBody>
376376 {#if showStateSearch}
377- <CardBody class="border-bottom" style="display: flex; justify-content: flex-end;">
378- <StateSearch bind:states={states} onSearch={q => handleStateSearch(q)}/>
377+ <CardBody class="border-bottom">
378+ <Row class="g-3 justify-content-end">
379+ <Col lg="6">
380+ <StateSearch bind:states={states} onSearch={q => handleStateSearch(q)}/>
381+ </Col>
382+ </Row>
379383 </CardBody>
380384 {/if}
381385 <CardBody class="border-bottom">
Original file line number Diff line number Diff line change 3636>
3737 {#each states as state , idx }
3838 <div class =" state-search-item" >
39- <div >
39+ <div style = " flex: 1; " >
4040 <RemoteSearchInput
4141 bind:value ={state .key }
4242 maxLength ={maxLength }
4343 onSearch ={e => onSearch (e )}
4444 placeholder =" Search States"
4545 />
4646 </div >
47- <div >
47+ <div style = " flex: 1; " >
4848 <Input
4949 type =" text"
5050 bind:value ={state .value }
6767 </div >
6868 {/each }
6969 {#if states .length < limit }
70- <div >
71- <Button
72- color =" link"
73- style =" padding-left: 0px;"
74- on:click ={() => addState ()}
75- >
76- Add +
77- </Button >
78- </div >
70+ <div class =" d-flex justify-content-end" >
71+ <Button
72+ color =" link"
73+ style =" padding-left: 0px;"
74+ on:click ={() => addState ()}
75+ >
76+ Add +
77+ </Button >
78+ <div style =" flex: 0 0 13px;" ></div >
79+ </div >
7980 {/if }
8081</div >
8182
You can’t perform that action at this time.
0 commit comments