File tree Expand file tree Collapse file tree
packages/graphiql-react/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ '@graphiql/react': patch
3+ ---
4+
5+ fix execute button becomes unstyled if there are several queries present
Original file line number Diff line number Diff line change 1- .graphiql-un-styled,
2- button.graphiql-un-styled {
1+ .graphiql-un-styled {
32 all: unset;
43 border-radius: var(--border-radius-4);
54 cursor: pointer;
Original file line number Diff line number Diff line change 1- .graphiql-execute-button-wrapper {
2- position: relative;
3- }
4-
51button.graphiql-execute-button {
62 background-color: hsl(var(--color-primary));
73 border: none;
Original file line number Diff line number Diff line change @@ -63,16 +63,7 @@ export const ExecuteButton: FC = () => {
6363 </DropdownMenu>
6464 ) : (
6565 <Tooltip label={label}>
66- <button
67- {...buttonProps}
68- onClick={() => {
69- if (isRunning) {
70- stop();
71- } else {
72- run();
73- }
74- }}
75- />
66+ <button {...buttonProps} onClick={isRunning ? stop : run} />
7667 </Tooltip>
7768 );
7869};
You can’t perform that action at this time.
0 commit comments