File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
ui/packages/shared/profile/src
ProfileIcicleGraph/IcicleGraphArrow
ProfileView/components/ViewSelector Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ const ContextMenu = ({
144
144
const nonEmptyValuesToCopy = valuesToCopy . filter ( ( { value} ) => value !== '' ) ;
145
145
146
146
return (
147
- < Menu id = { menuId } theme = { isDarkMode ? 'dark' : '' } >
147
+ < Menu id = { menuId } theme = { isDarkMode ? 'dark' : '' } className = "w-[250px]" >
148
148
< Item
149
149
id = "view-source-file"
150
150
onClick = { handleViewSourceFile }
@@ -187,7 +187,12 @@ const ContextMenu = ({
187
187
>
188
188
< div className = "flex w-full items-center gap-2" >
189
189
< Icon icon = "tdesign:sandwich-filled" />
190
- < div > Show in sandwich</ div >
190
+ < div className = "relative" >
191
+ Show in sandwich
192
+ < span className = "absolute top-[-2px] text-xs lowercase text-red-500" >
193
+ alpha
194
+ </ span >
195
+ </ div >
191
196
</ div >
192
197
</ Item >
193
198
) }
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ const ViewSelector = ({profileSource}: Props): JSX.Element => {
48
48
if ( enableSandwichView === true ) {
49
49
allItems . push ( {
50
50
key : 'sandwich' ,
51
- label : 'sandwich' ,
51
+ label : (
52
+ < span className = "relative" >
53
+ Sandwich
54
+ < span className = "absolute top-[-2px] text-xs lowercase text-red-500" > alpha</ span >
55
+ </ span >
56
+ ) ,
52
57
canBeSelected : ! dashboardItems . includes ( 'sandwich' ) ,
53
58
} ) ;
54
59
}
You can’t perform that action at this time.
0 commit comments