Skip to content

Commit a831ca6

Browse files
authored
Merge pull request #1088 from SherpasGroup/fix-webparttitle
Fix for WebPartTitle styling
2 parents 5f3f88e + 6b474e8 commit a831ca6

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/controls/webPartTitle/WebPartTitle.module.scss

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99

1010
.webPartTitle {
11-
font-size: 14px;
11+
font-size: 20px;
1212
font-weight: 600;
1313
margin-bottom: 11px;
1414
//color: "[theme:neutralPrimary, default: #333333]";
@@ -18,14 +18,6 @@
1818
overflow-x: hidden;
1919
text-overflow: ellipsis;
2020

21-
@media (min-width: 320px) {
22-
font-size: 16px;
23-
}
24-
25-
@media (min-width: 480px) {
26-
font-size: 20px;
27-
}
28-
2921
// Edit mode
3022
textarea {
3123
background-color: transparent;
@@ -35,7 +27,7 @@
3527
display: block;
3628
font-family: inherit;
3729
font-size: inherit;
38-
font-weight: inherit;
30+
font-weight: 400;
3931
height: 40px;
4032
line-height: inherit;
4133
margin: 0;
@@ -48,8 +40,7 @@
4840

4941
&::placeholder,
5042
&::-webkit-input-placeholder {
51-
color: inherit !important;
52-
font-weight: 600;
43+
color: "[theme:inputPlaceholderText, default: #605e5c]";
5344
}
5445
}
5546

0 commit comments

Comments
 (0)