Skip to content

Commit fbb242f

Browse files
Merge pull request #1049 from MonalisaBaltatescu/bug/fp-recents
Fixed showing the selection circle on recent tabs
2 parents 2b5f1c4 + a786c72 commit fbb242f

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

src/controls/filePicker/RecentFilesTab/RecentFilesTab.module.scss

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
}
2424

2525
.itemTile {
26-
-webkit-transition: -webkit-transform .1s linear;
27-
transition: -webkit-transform .1s linear;
28-
transition: transform .1s linear;
29-
transition: transform .1s linear,-webkit-transform .1s linear;
26+
-webkit-transition: -webkit-transform 0.1s linear;
27+
transition: -webkit-transform 0.1s linear;
28+
transition: transform 0.1s linear;
29+
transition: transform 0.1s linear, -webkit-transform 0.1s linear;
3030
position: relative;
3131
display: inline-block;
3232
left: 0;
@@ -131,26 +131,26 @@
131131
}
132132
}
133133

134-
.gridListCell.isSelected .itemTileCheckCircle,
135-
.gridListCell:hover,
136-
.gridListCell:hover .itemTileCheckCircle {
137-
opacity: 1;
134+
.itemTile.isSelected {
135+
.itemTileCheckCircle {
136+
opacity: 1;
137+
}
138138
}
139139

140140
.itemTileNamePlate {
141141
position: absolute;
142-
bottom:0;
143-
left:0;
144-
right:0;
145-
min-height:20px;
146-
padding:4px 8px 8px;
147-
background-color:$ms-color-white;
148-
color:$ms-color-neutralPrimary;
149-
white-space:nowrap;
150-
text-overflow:ellipsis
142+
bottom: 0;
143+
left: 0;
144+
right: 0;
145+
min-height: 20px;
146+
padding: 4px 8px 8px;
147+
background-color: $ms-color-white;
148+
color: $ms-color-neutralPrimary;
149+
white-space: nowrap;
150+
text-overflow: ellipsis;
151151
}
152152
.itemTile.isFile .itemTileNamePlate {
153-
opacity: .95;
153+
opacity: 0.95;
154154
border-top-width: 1px;
155155
border-top-style: solid;
156156
border-top-color: $ms-color-neutralLight;
@@ -162,16 +162,17 @@
162162
line-height: 20px;
163163
}
164164

165-
166-
.itemTileChildCount, .itemTileName, .itemTileSubText {
165+
.itemTileChildCount,
166+
.itemTileName,
167+
.itemTileSubText {
167168
overflow: hidden;
168169
white-space: nowrap;
169170
text-overflow: ellipsis;
170171
}
171172

172173
.itemTileSubText {
173174
font-size: 11px;
174-
opacity: .7;
175+
opacity: 0.7;
175176
}
176177

177178
.recentGridList {

0 commit comments

Comments
 (0)