Skip to content

Commit

Permalink
feat(plasma-new-hope): fix range width
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Jul 30, 2024
1 parent 4b45f19 commit a619739
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { css } from '@linaria/core';

import { component, mergeConfig } from '../../engines';
import { textFieldConfig, textFieldTokens } from '../TextField';
import { popoverClasses } from '../Popover';

import { classes, tokens } from './Range.tokens';

Expand All @@ -12,6 +11,8 @@ const TextField = component(mergedConfig);

// NOTE: переопределение токенов TextField
export const StyledInput = styled(TextField)`
width: 100%;
${textFieldTokens.color}: var(${tokens.textFieldColor});
${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});
${textFieldTokens.caretColor}: var(${tokens.textFieldCaretColor});
Expand Down

0 comments on commit a619739

Please sign in to comment.