mirror of
https://github.com/outline/outline.git
synced 2026-11-27 07:58:51 +03:00
fix: Permission select text color too dim outside nude variant (#13805)
This commit is contained in:
1 parent
a27d1244a8
commit
e62a2f7aeb
1 file changed
+6
-2
@@ -1,6 +1,6 @@
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import styled from "styled-components";
|
||||
import styled, { css } from "styled-components";
|
||||
import { s } from "@shared/styles";
|
||||
import { CollectionPermission } from "@shared/types";
|
||||
import type { Option } from "~/components/InputSelect";
|
||||
@@ -57,6 +57,10 @@ export function InputSelectPermission(props: Props) {
|
||||
}
|
||||
|
||||
const Select = styled(InputSelect)<{ $shrink?: boolean }>`
|
||||
color: ${s("textSecondary")};
|
||||
${({ nude }) =>
|
||||
nude &&
|
||||
css`
|
||||
color: ${s("textSecondary")};
|
||||
`}
|
||||
${({ $shrink }) => !$shrink && "margin-bottom: 16px;"}
|
||||
`;
|
||||
Reference in new issue
Block a user