mirror of https://github.com/node-red/node-red.git
Fix tab alignment and update border radius to be more consistent with other UI elements
parent
f71bc1a268
commit
430c01bb63
|
|
@ -598,7 +598,7 @@ RED.workspaces = (function() {
|
|||
$("#red-ui-workspace-scroll-h").css({ width: workspaceTargetWidth - 15 })
|
||||
|
||||
const paletteWidth = $("#red-ui-sidebar-left").width()
|
||||
$("#red-ui-header-logo").width(paletteWidth - 5)
|
||||
$("#red-ui-header-logo").width(paletteWidth - 3)
|
||||
|
||||
// const workspacePosition = $("#red-ui-workspace").position()
|
||||
// $("#red-ui-header-tabs").css({ left: workspacePosition.left, width: workspaceTargetWidth })
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@ i.red-ui-tab-icon {
|
|||
background: var(--red-ui-secondary-background);
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,0.15);
|
||||
border-color: var(--red-ui-primary-border-color);
|
||||
border-radius: 4px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
&:not(.active):hover::after {
|
||||
|
|
@ -538,7 +538,7 @@ i.red-ui-tab-icon {
|
|||
position: absolute;
|
||||
inset: 0 0 0 1px;
|
||||
background: rgba(0,0,0,0.06);
|
||||
border-radius: 4px;
|
||||
border-radius: 6px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue