mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 10:54:33 +01:00 
			
		
		
		
	no border and on hover no background change
This commit is contained in:
		| @@ -34,6 +34,13 @@ | ||||
|  | ||||
|     .TextInput { | ||||
|       height: calc(1rem - 3px); | ||||
|  | ||||
|       &--readonly { | ||||
|         border: none; | ||||
|         &:hover { | ||||
|           background: none; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -59,7 +59,10 @@ export class ProjectName extends Component<Props> { | ||||
|         {this.props.value} | ||||
|       </span> | ||||
|     ) : ( | ||||
|       <span className="TextInput" aria-label={this.props.label}> | ||||
|       <span | ||||
|         className="TextInput TextInput--readonly" | ||||
|         aria-label={this.props.label} | ||||
|       > | ||||
|         {this.props.value} | ||||
|       </span> | ||||
|     ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aakansha Doshi
					Aakansha Doshi