@@ -39,6 +39,7 @@ mgt-people-picker .root {
3939 border : calc (var (--stroke-width ) * 1px ) solid transparent ;
4040 border-radius : calc (var (--control-corner-radius ) * 1px );
4141 min-height : calc ((var (--base-height-multiplier ) + var (--density )) * var (--design-unit ) * 1px );
42+ padding : 3px ;
4243
4344 & :hover {
4445 background : padding-box linear-gradient (var (--neutral-fill-input-focus ), var (--neutral-fill-input-focus )),
@@ -52,7 +53,6 @@ mgt-people-picker .root {
5253 & .disabled {
5354 pointer-events : none ;
5455 }
55- padding : 4px ;
5656
5757 .people-picker-inner {
5858 flex : 1 1 auto ;
@@ -67,7 +67,12 @@ mgt-people-picker .root {
6767
6868 .flyout {
6969 .search-box {
70- margin : 1px 2px 8px ;
70+ display : flex ;
71+ height : 23px ;
72+
73+ .search-icon {
74+ padding : 5px ;
75+ }
7176
7277 & .search-box-start {
7378 line-height : normal ;
@@ -79,7 +84,6 @@ mgt-people-picker .root {
7984 box-sizing : border-box ;
8085 border-width : 0 ;
8186 border-style : none ;
82- width : 100% ;
8387 display : flex ;
8488 flex : 1 0 auto ;
8589 font-family : $font-family ;
@@ -100,7 +104,9 @@ mgt-people-picker .root {
100104 }
101105
102106 .flyout-root {
103- padding : 0 ;
107+ position : relative ;
108+ top : 8px ;
109+ padding : unset ;
104110 border-radius : 2px ;
105111 min-width : 260px ;
106112 overflow-y : auto ;
@@ -115,7 +121,9 @@ mgt-people-picker .root {
115121
116122 .people-list {
117123 list-style : none ;
118- padding : 0 ;
124+ padding : unset ;
125+ margin : unset ;
126+
119127 .list-person {
120128 display : flex ;
121129 flex-direction : row ;
@@ -167,15 +175,14 @@ mgt-people-picker .root {
167175
168176 & __person-wrapper {
169177 display : flex ;
170- margin : 0 4 px ;
178+ margin : 1 px ;
171179 align-items : center ;
172180 border-radius : 12px ;
173- height : 24 px ;
181+ height : 23 px ;
174182 white-space : nowrap ;
175183 text-overflow : ellipsis ;
176184 overflow : hidden ;
177185 position : relative ;
178- top : 3px ;
179186 background-color : set-var (selected-person__background-color , $theme-default , $people-picker );
180187 & :hover {
181188 background-color : $person-wrapper-background-hover ;
@@ -256,96 +263,6 @@ mgt-people-picker .root {
256263 @extend .selected-list__person-wrapper-highlighted ;
257264 background-color : #006cbe ;
258265 }
259-
260- .flyout {
261- .search-box {
262- margin : 1px 2px 8px ;
263- display : inline-flex ;
264-
265- & .search-box-start {
266- line-height : normal ;
267- margin-inline-start : 0px ;
268- margin-inline-end : 0px ;
269- }
270-
271- .search-icon {
272- padding : 10px 10px 0px 8px ;
273- }
274-
275- & __input {
276- box-sizing : border-box ;
277- border-width : 0 ;
278- border-style : none ;
279- width : 100% ;
280- display : flex ;
281- flex : 1 0 auto ;
282- font-family : $font-family ;
283- position : relative ;
284- top : 3px ;
285- outline : none ;
286- font-style : normal ;
287- font-weight : normal ;
288- font-size : 14px ;
289- background-color : $input__background-color ;
290- color : $color ;
291- word-spacing : inherit ;
292- text-indent : inherit ;
293- letter-spacing : inherit ;
294- & ::placeholder {
295- color : $placeholder__color ;
296- }
297- }
298- }
299-
300- .flyout-root {
301- padding : 0 ;
302- min-width : 260px ;
303- overflow-y : auto ;
304- text-align : left ;
305- list-style-type : none ;
306- background-color : $dropdown__background-color ;
307- max-height : var (--mgt-flyout-set-height , unset );
308- margin-top : 17px ;
309-
310- li {
311- cursor : pointer ;
312- }
313-
314- .people-list {
315- .list-person {
316- display : flex ;
317- flex-direction : row ;
318- align-items : center ;
319- padding : 10px ;
320- margin : var (--file-item-margin , 4px );
321- border-radius : 4px ;
322- & :hover {
323- background-color : $dropdown-item__background-color--hover ;
324- }
325- & .focused {
326- background-color : $dropdown-item__background-color--hover ;
327- }
328- .people-person-text-area {
329- margin-left : 13px ;
330- flex : 1 1 0 ;
331- max-height : 40px ;
332- overflow : hidden ;
333- color : $color ;
334-
335- .people-person-text {
336- font-size : 14px ;
337- font-weight : normal ;
338- margin : 0 ;
339- padding : 0 ;
340- & .highlight-search-text {
341- font-weight : bold ;
342- }
343- }
344- }
345- }
346- }
347- }
348- }
349266 }
350267}
351268
0 commit comments