Commit e96db8b
committed
Fix: Align language names and add borders to flags
This commit addresses the visual layout of the languages page:
1. Language Name Alignment:
- Wraps flag images in a `<span>` with class `flag-container`.
- The `flag-container` has a fixed width and right margin, ensuring that language names following the flags are vertically aligned, regardless of individual flag widths.
2. Flag Borders:
- Adds a `1px solid black` border to all language flags via the `language-flag` CSS class.
These changes improve the readability and visual consistency of the language list. The specific files modified are `languages.html` and `css/screen.scss`.1 parent 432b318 commit e96db8b
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments