mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix(calendar): prevent text jumping on hover
This commit is contained in:
parent
9bb86a547b
commit
f45cbeb1cf
2 changed files with 14 additions and 7 deletions
|
|
@ -1,4 +1,2 @@
|
||||||
<div>
|
|
||||||
<div>{{ day }}</div>
|
<div>{{ day }}</div>
|
||||||
<span>{{ (day + 100) * day }}$</span>
|
<span class="caption">{{ (day + 100) * day }}$</span>
|
||||||
</div>
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,18 @@
|
||||||
|
|
||||||
@include nb-install-component() {
|
@include nb-install-component() {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
span {
|
.caption {
|
||||||
font-size: 75%;
|
display: block;
|
||||||
opacity: 0.75;
|
}
|
||||||
|
|
||||||
|
&.selected .caption,
|
||||||
|
&:hover .caption {
|
||||||
|
color: nb-theme(text-control-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.bounding-month .caption {
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue