File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,6 +139,10 @@ UrlInput.style = css`
139139 padding-right : 0.25em ;
140140 }
141141
142+ : global (.ui-compact ) : scope : is (.inactiveurl , .placeholder , input ) {
143+ font-size : 0.9rem ;
144+ }
145+
142146 input ,
143147 .inactiveurl ,
144148 .placeholder {
Original file line number Diff line number Diff line change @@ -212,8 +212,7 @@ DragTab.style = css`
212212 overflow : hidden;
213213 white-space : nowrap;
214214 text-overflow : ellipsis;
215- display : flex;
216- align-items : center;
215+ text-box-trim : trim-both;
217216 line-height : var (--tab-height );
218217 }
219218 .main .close > * {
Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ export function pageContextItems(
4141 navigator . clipboard . writeText ( selection . toString ( ) ) ;
4242 } ,
4343 } ,
44+ {
45+ label : "Inspect" ,
46+ action : ( ) => {
47+ tab . devtoolsOpen = true ;
48+ // if (e.target) requestInspectElement([e.target as HTMLElement, tab]);
49+ } ,
50+ icon : iconCode ,
51+ } ,
4452 ] ;
4553 }
4654
@@ -74,6 +82,14 @@ export function pageContextItems(
7482 // TODO
7583 } ,
7684 } ,
85+ {
86+ label : "Inspect" ,
87+ action : ( ) => {
88+ tab . devtoolsOpen = true ;
89+ // if (e.target) requestInspectElement([e.target as HTMLElement, tab]);
90+ } ,
91+ icon : iconCode ,
92+ } ,
7793 ] ;
7894 } else if ( anchor ) {
7995 return [
@@ -109,6 +125,14 @@ export function pageContextItems(
109125 } ,
110126 icon : iconSave ,
111127 } ,
128+ {
129+ label : "Inspect" ,
130+ action : ( ) => {
131+ tab . devtoolsOpen = true ;
132+ // if (e.target) requestInspectElement([e.target as HTMLElement, tab]);
133+ } ,
134+ icon : iconCode ,
135+ } ,
112136 ] ;
113137 }
114138
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ class ProxyFrameContext {
131131 } ,
132132 contextmenu : async ( msg ) => {
133133 if ( ! tab ) return ;
134-
135134 let offX = 0 ;
136135 let offY = 0 ;
137136 let { x, y } = tab ! . frame . frame . getBoundingClientRect ( ) ;
You can’t perform that action at this time.
0 commit comments