Skip to content

Commit 968db84

Browse files
authored
fix content wrapping style issue (#31527)
* fix content wrapping style issue * remove global style scope
1 parent 42951f0 commit 968db84

File tree

1 file changed

+5
-1
lines changed
  • packages/gatsby-plugin-gatsby-cloud/src/components

1 file changed

+5
-1
lines changed

packages/gatsby-plugin-gatsby-cloud/src/components/Style.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ const Style = () => (
2727
0px 4px 8px rgba(71, 63, 79, 0.16);
2828
}
2929
30+
[data-gatsby-preview-indicator="tooltip"] svg {
31+
display: inline;
32+
}
33+
3034
[data-gatsby-preview-indicator="root"] {
3135
font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
3236
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
@@ -98,11 +102,11 @@ const Style = () => (
98102
color: white;
99103
position: fixed;
100104
display: inline;
101-
width: max-content;
102105
padding: 10px 13px;
103106
margin-top: -4px;
104107
border-radius: 4px;
105108
user-select: none;
109+
white-space: nowrap;
106110
}
107111
108112
[data-gatsby-preview-indicator="tooltip-link"] {

0 commit comments

Comments
 (0)