改进输入框包装器的样式。
This commit is contained in:
		@@ -193,6 +193,7 @@
 | 
			
		||||
    resize: none;
 | 
			
		||||
  }
 | 
			
		||||
  .input_wrapper {
 | 
			
		||||
    width: fit-content;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    flex-direction: row;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,10 @@
 | 
			
		||||
    display: flex;
 | 
			
		||||
    flex-direction: column;
 | 
			
		||||
    align-items: stretch;
 | 
			
		||||
    gap: var(--spacing-m);
 | 
			
		||||
    gap: var(--spacing-xs);
 | 
			
		||||
    .extended_input_wrapper {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
    }
 | 
			
		||||
    .rgb_input {
 | 
			
		||||
      text-align: right;
 | 
			
		||||
      text-transform: uppercase;
 | 
			
		||||
 
 | 
			
		||||
@@ -146,7 +146,7 @@ export function ColorComponentInput({ color, onChange }: ColorComponentInputProp
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div className={styles.rgb_input}>
 | 
			
		||||
      <div className={cx('input_wrapper')}>
 | 
			
		||||
      <div className={cx('input_wrapper', styles.extended_input_wrapper)}>
 | 
			
		||||
        <Icon icon="tabler:hash" />
 | 
			
		||||
        <input type="text" value={hex} onChange={updateHex} className={styles.rgb_input} />
 | 
			
		||||
      </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user