File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
packages/react/src/Breadcrumbs Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1+ .EditableTextInput {
2+ min-width : 120px ;
3+ max-width : 180px ;
4+ font-size : inherit;
5+ border : var (--borderWidth-thin ) dashed var (--borderColor-muted );
6+ }
7+
8+ .EditableTextInput : focus {
9+ border : var (--borderWidth-thin ) solid var (--borderColor-accent-emphasis );
10+ }
Original file line number Diff line number Diff line change 11import { useState } from 'react'
22import Breadcrumbs from '.'
33import TextInput from '../TextInput'
4+ import classes from './Breadcrumbs.dev.stories.module.css'
45
56export default {
67 title : 'Components/Breadcrumbs/Dev' ,
@@ -146,15 +147,7 @@ export const WithEditableNameInput = () => (
146147 < TextInput
147148 defaultValue = "Untitled Document"
148149 size = "small"
149- sx = { {
150- minWidth : '120px' ,
151- maxWidth : '180px' ,
152- fontSize : 'inherit' ,
153- border : '1px dashed var(--borderColor-muted)' ,
154- '&:focus' : {
155- border : '1px solid var(--borderColor-accent-emphasis)' ,
156- } ,
157- } }
150+ className = { classes . EditableTextInput }
158151 aria-label = "Edit document name"
159152 />
160153 </ Breadcrumbs . Item >
You can’t perform that action at this time.
0 commit comments