gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 701HTML 654Markdown 12TOML 62332 Definiciones

⎇ c2db86dfc600067c6f4d70c8ea398cbcc5d42dbd test_fixtures/align_content_center_single_line_negative_space_gap.html HTML · 19 líneas · 586 B Historia crudo

Fix `justify-content` and `align-content` when free space is negative (content overflows container) (#551) 837d03fde · Nico Burns ·

1<!DOCTYPE html>
2<html lang="en">
3<head>
4  <script src="../scripts/gentest/test_helper.js"></script>
5  <link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css">
6  <title>
7    Test description
8  </title>
9</head>
10<body>
11
12<div id="test-root" style="display: flex; flex-direction: column; width: 320px; height: 320px; border-width: 60px;">
13  <div style="display: flex; flex-direction: row; align-content: center; justify-content: center; height: 10px; gap: 10px;">
14    <div style="width: 80%; height: 60px; flex-shrink: 0;"></div>
15  </div>
16</div>
17
18</body>
19</html>