File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 227227}
228228
229229.workspace-home-model-dropdown {
230- width : 190px !important ;
230+ min-width : 190px !important ;
231+ width : max-content !important ;
232+ max-width : calc (100vw - 24px ) !important ;
231233}
232234
233235.workspace-home-model-option {
234236 position : relative;
235237 display : flex;
236238 align-items : center;
239+ width : 100% ;
237240 border-radius : 8px ;
238241}
239242
240243.workspace-home-model-option .workspace-home-model-toggle {
241- width : 175px ;
242- flex : 1 ;
243- justify-content : space-between;
244+ min-width : 175px ;
245+ width : 100% ;
246+ flex : 1 1 auto;
247+ padding-right : 48px ;
248+ }
249+
250+ .workspace-home-model-option .workspace-home-model-toggle .ds-popover-item-label {
251+ min-width : 0 ;
252+ flex : 1 1 auto;
253+ white-space : normal;
254+ overflow-wrap : anywhere;
255+ word-break : break-word;
244256}
245257
246258.workspace-home-model-option .is-active .workspace-home-model-toggle ,
265277
266278.workspace-home-model-submenu {
267279 position : absolute;
268- top : 0 ;
269- left : calc ( 100 % + 6px ) ;
280+ top : calc ( 100 % + 6 px ) ;
281+ right : 6px ;
270282 min-width : 80px ;
271283 padding : 6px ;
272284 opacity : 0 ;
285+ visibility : hidden;
273286 pointer-events : none;
274- transform : translateX (-4px );
287+ transform : translateY (-4px );
275288 transition : opacity 120ms ease, transform 120ms ease;
276289 z-index : 6 ;
277290}
278291
279292.workspace-home-model-submenu ::before {
280293 content : "" ;
281294 position : absolute;
282- left : -8px ;
283- top : 0 ;
284- width : 8 px ;
285- height : 100 % ;
295+ top : -8px ;
296+ left : 0 ;
297+ width : 100 % ;
298+ height : 8 px ;
286299}
287300
288301.workspace-home-model-option : hover .workspace-home-model-submenu ,
289302.workspace-home-model-option : focus-within .workspace-home-model-submenu {
290303 opacity : 1 ;
304+ visibility : visible;
291305 pointer-events : auto;
292- transform : translateX (0 );
306+ transform : translateY (0 );
293307}
294308
295309.workspace-home-model-submenu-item {
You can’t perform that action at this time.
0 commit comments