Work on the space-evenly option for flexbox justify-content (#37797)
This challenge requests setting the justify-content attribute to one of the possible values shown in the previous challenge. One of these values - space-evenly - doesn't actually work (at least for the English version). In this commit I fix the space-evenly issues to some extent. I cannot tick the box saying that all files changed are in the same world language. However, the changes made should be understandable in all languages. There still is more to be done for languages other than English, like adding to the test text for Arabic, Portuguese, and Spanish, and adding descriptions for space-evenly in the previous challenge.
This commit is contained in:
@ -17,8 +17,8 @@ localeTitle: 在Tweet Embed中使用justify-content属性
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>.profile-name</code>元素应将<code>justify-content</code>属性设置为以下任何值:center,flex-start,flex-end,space-between或space-around。
|
||||
testString: 'assert(code.match(/header\s.profile-name\s*{\s*?.*?\s*?.*?\s*?\s*?.*?\s*?justify-content\s*:\s*(center|flex-start|flex-end|space-between|space-around)\s*;/g), "The <code>.profile-name</code> element should have the <code>justify-content</code> property set to any of these values: center, flex-start, flex-end, space-between, or space-around.");'
|
||||
- text: <code>.profile-name</code>元素应将<code>justify-content</code>属性设置为以下任何值:center,flex-start,flex-end,space-between,space-around或space-evenly。
|
||||
testString: 'assert(code.match(/header\s.profile-name\s*{\s*?.*?\s*?.*?\s*?\s*?.*?\s*?justify-content\s*:\s*(center|flex-start|flex-end|space-between|space-around|space-evenly)\s*;/g), "The <code>.profile-name</code> element should have the <code>justify-content</code> property set to any of these values: center, flex-start, flex-end, space-between, space-around, or space-evenly.");'
|
||||
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user