Skip to content

Commit 3ce0d7a

Browse files
committed
style(setting): プリセットカードの余白とサイズを微調整
1 parent 0fc2556 commit 3ce0d7a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

entrypoints/content/features/YTDLiveChatSetting/components/PresetContent/PresetItem.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ export const PresetItem = ({ id }: PresetItemType) => {
4646

4747
return (
4848
<div
49-
className={`ylc-preset-card ylc-theme-surface m-3 p-2 rounded-[12px] border border-solid ylc-theme-border relative transition-shadow duration-160 ${
49+
className={`ylc-preset-card ylc-theme-surface m-3 p-2.5 rounded-[12px] border border-solid ylc-theme-border relative transition-shadow duration-160 ${
5050
isDragging ? 'z-1 cursor-grabbing ylc-theme-shadow-sm' : ''
5151
}`}
5252
ref={setNodeRef}
5353
style={{ transform: CSS.Translate.toString(transform), transition }}
5454
>
55-
<div className='flex justify-between items-center gap-2'>
55+
<div className='flex justify-between items-center gap-2.5'>
5656
<div className='group flex items-center min-w-0 flex-1'>
5757
<div ref={setActivatorNodeRef} className='flex items-center justify-center'>
5858
<TbGripVertical
@@ -73,7 +73,7 @@ export const PresetItem = ({ id }: PresetItemType) => {
7373
value={title}
7474
onChange={event => updateTitle(id, event.target.value)}
7575
aria-label={t('content.aria.presetName')}
76-
className='ml-1 h-8 px-1.5 rounded-[8px] outline-none min-w-0 flex-1 max-w-[240px] text-sm font-medium tracking-[0.01em] ylc-theme-input-borderless'
76+
className='ml-1 h-[34px] p-2 rounded-[8px] outline-none min-w-0 flex-1 max-w-[228px] text-sm font-medium tracking-[0.01em] ylc-theme-input-borderless'
7777
/>
7878
</div>
7979
<div className='flex transition-opacity duration-160 shrink-0'>

shared/styles/theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,8 +1203,8 @@
12031203
display: inline-flex;
12041204
align-items: center;
12051205
justify-content: center;
1206-
width: 34px;
1207-
height: 34px;
1206+
width: 35px;
1207+
height: 35px;
12081208
padding: 7px;
12091209
}
12101210

0 commit comments

Comments
 (0)