[{"data":1,"prerenderedAt":169},["ShallowReactive",2],{"blog-fr-reading-the-vertical-rail":3},{"doc":4,"fallback":93},{"id":5,"title":6,"body":7,"cover":157,"date":158,"description":13,"draft":159,"extension":160,"meta":161,"navigation":93,"path":162,"raw":159,"seo":163,"stem":164,"summary":165,"tags":166,"__hash__":168},"blog_en\u002Fen\u002Fblog\u002Freading-the-vertical-rail.md","Bottom-aligned vertical type, and why the stagger matters",{"type":8,"value":9,"toc":155},"minimark",[10,14,17,145,151],[11,12,13],"p",{},"Rotate a row of labels into vertical type and the instinct is to align their\ntops. The result reads like a table of contents rotated ninety degrees.",[11,15,16],{},"Align the bottoms instead. Labels of different lengths then reach different\nheights, and the ragged top edge does the composing.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-css shiki shiki-themes github-light github-dark",".rail-item {\n  display: flex;\n  flex-direction: column;\n  justify-content: flex-end;\n}\n\n.rail-text {\n  writing-mode: vertical-rl;\n  transform: rotate(180deg);\n}\n","css","",[25,26,27,40,56,69,82,88,95,103,116,140],"code",{"__ignoreMap":23},[28,29,32,36],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sScJk",".rail-item",[28,37,39],{"class":38},"sVt8B"," {\n",[28,41,43,47,50,53],{"class":30,"line":42},2,[28,44,46],{"class":45},"sj4cs","  display",[28,48,49],{"class":38},": ",[28,51,52],{"class":45},"flex",[28,54,55],{"class":38},";\n",[28,57,59,62,64,67],{"class":30,"line":58},3,[28,60,61],{"class":45},"  flex-direction",[28,63,49],{"class":38},[28,65,66],{"class":45},"column",[28,68,55],{"class":38},[28,70,72,75,77,80],{"class":30,"line":71},4,[28,73,74],{"class":45},"  justify-content",[28,76,49],{"class":38},[28,78,79],{"class":45},"flex-end",[28,81,55],{"class":38},[28,83,85],{"class":30,"line":84},5,[28,86,87],{"class":38},"}\n",[28,89,91],{"class":30,"line":90},6,[28,92,94],{"emptyLinePlaceholder":93},true,"\n",[28,96,98,101],{"class":30,"line":97},7,[28,99,100],{"class":34},".rail-text",[28,102,39],{"class":38},[28,104,106,109,111,114],{"class":30,"line":105},8,[28,107,108],{"class":45},"  writing-mode",[28,110,49],{"class":38},[28,112,113],{"class":45},"vertical-rl",[28,115,55],{"class":38},[28,117,119,122,124,127,130,133,137],{"class":30,"line":118},9,[28,120,121],{"class":45},"  transform",[28,123,49],{"class":38},[28,125,126],{"class":45},"rotate",[28,128,129],{"class":38},"(",[28,131,132],{"class":45},"180",[28,134,136],{"class":135},"szBVR","deg",[28,138,139],{"class":38},");\n",[28,141,143],{"class":30,"line":142},10,[28,144,87],{"class":38},[11,146,147,148,150],{},"The rotation is what makes the text read bottom-to-top. Without it,\n",[25,149,113],{}," reads top-to-bottom, which puts the start of every label against\nthe ceiling.",[152,153,154],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":23,"searchDepth":42,"depth":42,"links":156},[],"\u002Fimg\u002Fplaceholder.svg","2026-05-08",false,"md",{},"\u002Fen\u002Fblog\u002Freading-the-vertical-rail",{"title":6,"description":13},"en\u002Fblog\u002Freading-the-vertical-rail","Vertical navigation looks mechanical when the tops line up. Aligning the other edge fixes it.",[22,167],"typography","6J_NysOdkHAIAuS8DBY1MUmGWIqd5Hv716MT-omA5qM",1788344195277]