Fix sizing issue

This commit is contained in:
barsdeveloper
2023-05-20 21:40:48 +02:00
parent 32cc4d7c66
commit cccae45d7a
8 changed files with 19 additions and 11 deletions

View File

@@ -15,9 +15,8 @@
}
@font-face {
font-family: "Roboto";
font-weight: bold;
font-stretch: condensed;
src: url("../font/roboto-condensed-bold.woff2") format("woff2");
src: url("../font/roboto-condensed-regular.woff2") format("woff2");
}
ueb-blueprint {
--ueb-scale: 1;
@@ -211,7 +210,7 @@ ueb-link > svg {
ueb-link .ueb-link-area path {
visibility: visible;
stroke: var(--ueb-link-color);
stroke-width: calc(2px / var(--ueb-scale));
stroke-width: calc(1.5px / var(--ueb-scale));
}
ueb-link[data-dragging=true] .ueb-link-area path,
@@ -381,10 +380,14 @@ ueb-node.ueb-node-style-event .ueb-node-top {
.ueb-node-name {
display: flex;
align-items: center;
justify-content: center;
background: radial-gradient(ellipse 100% 100% at 40% 50%, rgba(0, 0, 0, 0.5) 20%, transparent 50%);
margin: -1px -15px;
padding: 2px 15px;
line-height: 120%;
}
.ueb-node-style-setter .ueb-node-name {
justify-content: center;
}
.ueb-node-name:last-child {
@@ -416,6 +419,7 @@ ueb-node[data-pure-function=true] .ueb-node-name-symbol {
}
.ueb-node-subtitle-text {
padding-top: 1px;
padding-right: 5px;
font-weight: 100;
font-style: italic;