Skip to content

Commit 1924c3d

Browse files
adjustment fontsize figcaption
1 parent 2a67e65 commit 1924c3d

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/components/VueTechsLogos.vue

+14-11
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,20 @@ const hiddenTechs = (items) => techs.filter(item => !items.includes(item.name.to
244244
margin-bottom: .2rem;
245245
}
246246
247-
figcaption.tooltip {
248-
position: absolute;
249-
bottom: 2%;
250-
background: var(--vtl-background-tooltip);
251-
box-shadow: 0 4px 10px var(--vtl-shadow-tooltip);
252-
padding: 0.2rem 0.5rem;
253-
border-radius: 5px;
254-
pointer-events: none;
255-
opacity: 0;
256-
transition: .3s all;
257-
color: var(--vtl-text);
247+
figcaption {
248+
font-size: .7rem;
249+
&.tooltip {
250+
position: absolute;
251+
bottom: 2%;
252+
background: var(--vtl-background-tooltip);
253+
box-shadow: 0 4px 10px var(--vtl-shadow-tooltip);
254+
padding: 0.2rem 0.5rem;
255+
border-radius: 5px;
256+
pointer-events: none;
257+
opacity: 0;
258+
transition: .3s all;
259+
color: var(--vtl-text);
260+
}
258261
}
259262
}
260263
}

0 commit comments

Comments
 (0)