-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit 0abc12f
authored
Fix Alignment In Git Clone Panel (#2131)
### Description
Removes all hard-coded locations and widths in the git clone panel,
swapping them out for correct SwiftUI layout.
This fixes an issue on macOS Tahoe but is not limited to Tahoe
intentionally. This should not be hardcoded on any platform and does not
change the layout of the panel on Sequoia or lower.
### Related Issues
* closes #2120
* closes #2116
### Checklist
- [x] I read and understood the [contributing
guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)
as well as the [code of
conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
### Screenshots
<img width="513" height="258" alt="Screenshot 2025年09月11日 at 1 43 36 PM"
src="https://github.com/user-attachments/assets/f36f379d-e020-40cf-93f2-2a4456f84a5c"
/>1 parent 5f48f0a commit 0abc12f
File tree
3 files changed
+30
-30
lines changed- CodeEdit/Features/SourceControl/Clone
- ViewModels
3 files changed
+30
-30
lines changedLines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 27 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | - | ||
31 | + | ||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | - | ||
36 | 35 |
| |
37 | - | ||
36 | + | ||
38 | 37 |
| |
39 | 38 |
| |
40 | 39 |
| |
| |||
46 | 45 |
| |
47 | 46 |
| |
48 | 47 |
| |
49 | - | ||
50 | 48 |
| |
51 | 49 |
| |
50 | + | ||
52 | 51 |
| |
53 | 52 |
| |
54 | 53 |
| |
| |||
58 | 57 |
| |
59 | 58 |
| |
60 | 59 |
| |
61 | - | ||
62 | - | ||
63 | - | ||
64 | - | ||
65 | 60 |
| |
61 | + | ||
66 | 62 |
| |
67 | 63 |
| |
68 | 64 |
| |
| |||
71 | 67 |
| |
72 | 68 |
| |
73 | 69 |
| |
74 | - | ||
75 | - | ||
76 | - | ||
77 | - | ||
78 | - | ||
79 | - | ||
80 | - | ||
81 | - | ||
82 | - | ||
83 | - | ||
84 | - | ||
85 | - | ||
86 | - | ||
87 | - | ||
88 | - | ||
89 | - | ||
90 | - | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | 91 |
| |
92 | - | ||
93 | - | ||
94 | 92 |
| |
95 | 93 |
| |
94 | + | ||
95 | + | ||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 | - | ||
187 | + | ||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
|
0 commit comments