Scope font-size rules to fng-container to avoid overriding full-diagram styles
This commit is contained in:
@@ -64,15 +64,15 @@
|
||||
fill: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
/* Card text */
|
||||
.person-card .person-name {
|
||||
font-size: 9px;
|
||||
/* Card text — scoped to fng-container to avoid overriding full-diagram */
|
||||
.fng-container .person-card .person-name {
|
||||
font-size: 8px;
|
||||
font-weight: 600;
|
||||
fill: #212529;
|
||||
dominant-baseline: auto;
|
||||
}
|
||||
|
||||
.person-card .person-dates {
|
||||
.fng-container .person-card .person-dates {
|
||||
font-size: 8px;
|
||||
fill: #6c757d;
|
||||
dominant-baseline: auto;
|
||||
|
||||
Reference in New Issue
Block a user