mirror of
https://github.com/m3y54m/Embedded-Engineering-Roadmap.git
synced 2026-10-12 01:08:13 +03:00
fix(explorer): balance the top margin above the map title
This commit is contained in:
+3
-2
@@ -9,7 +9,7 @@ export const SPACE = 10;
|
||||
const COL = 170;
|
||||
const GUTTER = 26;
|
||||
const LEFT = 86;
|
||||
const TOP = 168;
|
||||
const TOP = 159;
|
||||
const BOX_H = 26;
|
||||
const BOX_H2 = 42;
|
||||
const HEAD_H = 20;
|
||||
@@ -143,7 +143,8 @@ export function buildLayout(plan) {
|
||||
return {
|
||||
width: PAGE_WIDTH,
|
||||
height: footer.y + footer.h + 16,
|
||||
titleY: 58,
|
||||
// Baseline that puts the title's cap tops 24 from the page edge, the same as its left margin.
|
||||
titleY: 49,
|
||||
footer,
|
||||
areas: {
|
||||
SOFTWARE: { x: areaX, y: swTop, w: areaW, h: crossBottom - swTop },
|
||||
|
||||
Reference in New Issue
Block a user