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>
|
||||
<span>{{ (day + 100) * day }}$</span>
|
||||
</div>
|
||||
<div>{{ day }}</div>
|
||||
<span class="caption">{{ (day + 100) * day }}$</span>
|
||||
|
|
|
|||
|
|
@ -2,9 +2,18 @@
|
|||
|
||||
@include nb-install-component() {
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
|
||||
span {
|
||||
font-size: 75%;
|
||||
opacity: 0.75;
|
||||
.caption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.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