Skip to content

Commit 733abab

Browse files
authored
Make sure that the label shows up and the screenshot matches the styling (#1899)
1 parent 595f19c commit 733abab

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

guides/release/components/index.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,15 @@ body {
148148

149149
form {
150150
display: grid;
151-
grid-column: span 2;
152151
grid-template-columns: 1fr 6em;
152+
grid-template-rows: repeat(2, 1fr);
153+
grid-column-gap: 0px;
154+
grid-row-gap: 0px;
155+
grid-column: span 2;
156+
}
157+
158+
form > label {
159+
grid-area: 1 / 1 / 2 / 2;
153160
}
154161

155162
form > input {
@@ -159,13 +166,15 @@ form > input {
159166
border: 1px solid #cccccc;
160167
border-right: none;
161168
font-size: 1em;
169+
grid-area: 2 / 1 / 3 / 2;
162170
}
163171

164172
form > button {
165173
border-top-right-radius: 0.5em;
166174
border-bottom-right-radius: 0.5em;
167175
border: 1px solid #cccccc;
168176
font-size: 1em;
177+
grid-area: 2 / 2 / 3 / 3;
169178
}
170179
```
171180

-148 KB
Loading

0 commit comments

Comments
 (0)