We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 692e0c2 commit 447f5f2Copy full SHA for 447f5f2
2 files changed
packages/devtool-extenstion/src/containers/Header/index.js
@@ -11,7 +11,7 @@ const Header = () => {
11
12
return (
13
<header>
14
- <div>{tab.title || "React Context Devtool"}</div>
+ <div className="title">{tab.title || "React Context Devtool"}</div>
15
<div>
16
{reactInfo.version ? (
17
<span className="pill">
packages/devtool-extenstion/src/containers/Header/index.scss
@@ -14,4 +14,11 @@ header {
border-radius: 3px;
font-size: 0.8rem;
}
+
18
+ .title {
19
+ flex: 1;
20
+ white-space: nowrap;
21
+ overflow: hidden;
22
+ text-overflow: ellipsis;
23
+ }
24
0 commit comments