Skip to content

Commit 6a5f306

Browse files
devvaannshabose
authored andcommitted
chore: nest css styles to prevent polluting the global css styles
1 parent f665b99 commit 6a5f306

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/styles/Extn-NavigationAndHistory.less

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,7 @@
238238
border-top: 1px solid #343434;
239239
}
240240

241-
#mrof-list li {
242-
position: relative;
243-
}
244-
245-
.remove-file {
241+
#mrof-container #mrof-list > li .remove-file {
246242
color: #adb9bd;
247243
position: absolute;
248244
left: 6px;
@@ -255,12 +251,12 @@
255251
display: none;
256252
}
257253

258-
#mrof-list li:hover .remove-file {
254+
#mrof-container #mrof-list > li:hover .remove-file {
259255
color: #fff;
260256
display: block;
261257
}
262258

263-
.remove-file:hover {
259+
#mrof-container #mrof-list > li .remove-file:hover {
264260
color: #fff;
265261
opacity: 1;
266262
}

0 commit comments

Comments
 (0)