Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix + TODO

Manav Rathi804b91b825fa
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 15c242a470..37cd77020a 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -234,7 +234,7 @@ const getColorSchemes = (colors: ReturnType<typeof getColors>) => ({
primary: {
main: colors.dark.fill.base,
dark: colors.dark.fill.baseHover,
- contrastText: colors.dark.text.base,
+ contrastText: colors.fixed.black,
},
secondary: {
main: colors.dark.fill.faint,
@@ -547,11 +547,9 @@ const components: Components = {
// border radius is only applied to the top for the "filled"
// variant of input used inside TextFields.
borderRadius: "8px",
- // TODO: Should we also add overflow hidden so that there is no
- // gap between the filled area and the (full width) border. Not
- // sure how this might interact with selects.
- // overflow: "hidden",
-
+ // Clip the bottom border so that there is no gap between the
+ // filled area and the (full width) border.
+ overflow: "hidden",
// Hide the bottom border that always appears for the "filled"
// variant of input used inside TextFields.
"::before": {