sapling/addons
Evan Krause 418ccf5ffd Prevent diff statuses from flex shrinking, fix alignment
Summary:
After we added more responsive design in D45671035, some styling seems to have broken and gone unnoticed.

- diff badges are now more more likely to be flex-shrunk by being in a slightly too narrow display that's not narrow enough to fully wrap. We should prevent this text wrap so diff statuses ("landing" etc) never wrap their text
- The uncommit button was top-aligned, but I think center align makes more sense, especially when you see it next to other  elements that should be centered (diff badge row)
- In fixing the uncommit button alignment, it messed up commit avatars. However, this is a good opportunity to fix the commit avatar alignment. I noticed in the past they were sometimes askew anyway.
  - We instead align avatars to be centered as well (top & bottom : auto)
  - This then causes a new bug, where the commit graph line border may poke out above the commit avatar.
  - We can cover this up by re-adding the background perfectly aligned with the border, with the right height for the commit, but only do this for the topmost commit of a stack
  - Lastly, if its the head commit, then we shouldn't cover up with the background color, but rather the blue color used for "You are here" to blend in properly.

All these things taken together seem to give a good look.

Reviewed By: muirdm

Differential Revision: D45785794

fbshipit-source-id: 2ddb3c552a6d183ea5bc20ae0ba3b8aa32ec9845
2023-05-11 13:03:17 -07:00
..
.tours Add code tours 2023-02-06 10:02:35 -08:00
.vscode vscode: add vscode config to debug isl tests 2023-04-21 15:51:13 -07:00
eslint-rules Re-sync with internal repository 2022-11-15 00:48:09 -08:00
isl Prevent diff statuses from flex shrinking, fix alignment 2023-05-11 13:03:17 -07:00
isl-server Collect logs from VS Code extension in memory 2023-05-11 07:27:56 -07:00
isl-standalone Standalone Tauri app 2023-03-16 11:34:35 -07:00
reviewstack add "rs" as an alias for "rust" 2023-04-07 09:27:13 -07:00
reviewstack.dev reviewstack: include the screencast on the home page 2022-12-20 12:36:37 -08:00
shared Disable buttons that run operations automatically while running 2023-05-10 18:02:13 -07:00
textmate add "rs" as an alias for "rust" 2023-04-07 09:27:13 -07:00
vscode Collect logs from VS Code extension in memory 2023-05-11 07:27:56 -07:00
.eslintrc.js Fix vscode build script 2023-02-27 18:14:32 -08:00
.gitignore isl: ignore shared/coverage folder 2023-02-03 15:43:52 -08:00
.prettierignore Standalone Tauri app 2023-03-16 11:34:35 -07:00
.prettierrc Re-sync with internal repository 2022-11-15 00:48:09 -08:00
LICENSE Re-sync with internal repository 2022-11-15 00:48:09 -08:00
package.json deps: yarn add -W -D @babel/runtime 2023-05-02 20:29:43 -07:00
removeInternalFiles.sh Script to remove internal files 2023-02-06 15:13:28 -08:00
verify-addons-folder.py Re-sync with internal repository 2022-11-15 00:48:09 -08:00
yarn.lock Update to vscode-webview-ui-toolkit 1.2.2 2023-05-09 13:03:54 -07:00