File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -207,25 +207,32 @@ ul.task-list input[type="checkbox"] {
207207 }
208208}
209209
210- /* About profile image hover swap */
210+ /* About profile image hover swap - enforce stacking order */
211211.profile-hover-swap {
212212 position : relative ;
213213 display : inline-block ;
214214}
215215
216+ .profile-hover-swap > figure {
217+ position : relative ;
218+ z-index : 1 ;
219+ margin : 0 ;
220+ }
221+
216222.profile-hover-swap .hover-img {
217223 position : absolute ;
218224 inset : 0 ;
225+ z-index : 2 ;
219226 opacity : 0 ;
220227 transition : opacity 200ms ease-in-out ;
221228}
222229
223- .profile-hover-swap :hover .hover-img {
224- opacity : 1 ;
230+ .profile-hover-swap .hover-img > figure {
231+ margin : 0 ;
225232}
226233
227- .profile-hover-swap figure {
228- margin : 0 ;
234+ .profile-hover-swap :hover .hover-img {
235+ opacity : 1 ;
229236}
230237/* figure.liquid가 figure 마진을 주는 경우 대비 (있으면 점프/어긋남 방지) */
231238
You can’t perform that action at this time.
0 commit comments