mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-03 23:55:04 +08:00
Fix sizing issue
This commit is contained in:
@@ -18,9 +18,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 {
|
||||
|
||||
@@ -29,7 +29,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,
|
||||
|
||||
@@ -137,10 +137,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 {
|
||||
@@ -172,6 +176,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;
|
||||
|
||||
Reference in New Issue
Block a user