Skip to content

Commit 83783e6

Browse files
committed
Fix settings selection text
Fixes #96.
1 parent 98c3588 commit 83783e6

File tree

2 files changed

+13
-19
lines changed

2 files changed

+13
-19
lines changed

styles/editor.less

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,20 @@ atom-text-editor[mini] {
1111
transition:box-shadow 0.2s ease-in-out;
1212
min-height:24px;
1313

14-
&,
15-
&.editor {
16-
.placeholder-text {
17-
color: @text-color-subtle;
18-
}
19-
.selection .region {
20-
background-color: #ededed;
21-
}
22-
.cursor {
23-
border-color: #222;
24-
border-width: 1px;
25-
}
14+
.placeholder-text {
15+
color: @text-color-subtle;
16+
}
17+
18+
.selection .region {
19+
background-color: #ededed;
20+
}
21+
22+
.cursor {
23+
border-color: #222;
24+
border-width: 1px;
2625
}
2726

28-
&.is-focused,
29-
&.is-focused.editor {
27+
&.is-focused {
3028
background-color: #fff;
3129
opacity:1;
3230
outline:none;
@@ -35,7 +33,7 @@ atom-text-editor[mini] {
3533
border-radius: @component-border-radius;
3634

3735
.selection .region {
38-
background-color: #B2D7FF;
36+
background-color: #B2D7FF !important;
3937
}
4038
}
4139
}

styles/settings.less

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@
113113
}
114114
}
115115

116-
div:empty {
117-
display:none;
118-
}
119-
120116
.sub-section {
121117
margin-top:@component-padding;
122118
clear:both;

0 commit comments

Comments
 (0)