@@ -144,16 +144,16 @@ function selectColor(c: Color) {
144144
145145 <ClientOnly >
146146 <Teleport to =" #widget" defer >
147- <div class =" nq-raw" h-full f-pb-md flex =" ~ col" >
148- <header v-if =" !selectedIcon" flex =" col gap-16 items-start" >
147+ <div class =" nq-raw" h-full f-pb-md flex =" ~ col" max-md:f-p-xs of-y-auto >
148+ <header v-if =" !selectedIcon" flex =" ~ md: col gap-16 items-start" >
149149 <div stack f-p-md rounded-16 outline =" dashed 3 offset--3 neutral-300" w-max >
150150 <div size-64 />
151151 </div >
152- <p f-mt-sm f-text-xs pl-4 text-neutral-800 font-semibold >
152+ <p f-mt-sm f-text-xs pl-4 text-neutral-800 font-semibold shrink-0 >
153153 Select an icon
154154 </p >
155155
156- <div flex =" ~ items-center gap-12" f-mt-sm >
156+ <div flex =" ~ wrap items-center gap-12" f-mt-sm >
157157 <button
158158 v-for =" c in colors" :key =" c" shrink-0 size-21 rounded-full outline =" ~ 1 neutral/20"
159159 :data-active =" activeColor === c ? '' : undefined"
@@ -168,7 +168,7 @@ function selectColor(c: Color) {
168168 </header >
169169 <template v-else >
170170 <header
171- flex =" col gap-16 items-start"
171+ flex =" ~ md: col gap-16 items-start"
172172 :style =" `--c: rgb(var(--nq-${activeColor}));--c2: rgb(var(--nq-${activeColor}-400));`"
173173 >
174174 <div
@@ -182,25 +182,31 @@ function selectColor(c: Color) {
182182 >
183183 <Icon :icon =" selectedIcon" text =" $c" />
184184 </div >
185- <div flex =" ~ items-center gap-12" f-mt-sm >
186- <button
187- v-for =" c in colors" :key =" c" shrink-0 size-21 rounded-full outline =" ~ 1 neutral/20"
188- :data-active =" activeColor === c ? '' : undefined"
189- :class =" { 'op-30 hocus:op-80': c !== activeColor || (isLogo && !isMono) }" transition-colors
190- :style =" `background-color: rgba(var(--nq-${c}));`" @click =" selectColor(c)"
191- />
192-
193- <button v-if =" isLogo" stack bg =" neutral-500 data-active:neutral" text-neutral-0 size-21 transition-opacity aspect-square rounded-full :data-state =" !isMono ? 'active' : ''" @click =" rotateLogoIcon" >
194- <span block :class =" isMono ? 'i-tabler:paint' : isWhite ? 'i-tabler:paint-off' : !hasWhite ? 'i-nimiq:moon' : 'i-tabler:paint-off'" />
195- </button >
185+ <div >
186+ <div flex =" ~ items-center wrap gap-12" f-mt-sm >
187+ <button
188+ v-for =" c in colors" :key =" c" shrink-0 size-21 rounded-full outline =" ~ 1 neutral/20"
189+ :data-active =" activeColor === c ? '' : undefined"
190+ :class =" { 'op-30 hocus:op-80': c !== activeColor || (isLogo && !isMono) }" transition-colors
191+ :style =" `background-color: rgba(var(--nq-${c}));`" @click =" selectColor(c)"
192+ />
193+
194+ <button v-if =" isLogo" stack bg =" neutral-500 data-active:neutral" text-neutral-0 size-21 transition-opacity aspect-square rounded-full :data-state =" !isMono ? 'active' : ''" @click =" rotateLogoIcon" >
195+ <span block :class =" isMono ? 'i-tabler:paint' : isWhite ? 'i-tabler:paint-off' : !hasWhite ? 'i-nimiq:moon' : 'i-tabler:paint-off'" />
196+ </button >
197+ </div >
198+
199+ <p md:hidden mt-10 font-semibold >
200+ <CodeBlock text-13 :code =" `i-${selectedIcon}`" />
201+ </p >
196202 </div >
197203 </header >
198204
199205 <template v-if =" ! missingLogoVariant " >
200206 <p f-mt-md nq-label text =" 9 neutral-700" >
201207 Copy as
202208 </p >
203- <p mt-4 font-semibold >
209+ <p mt-4 font-semibold max-md:hidden >
204210 <CodeBlock text-13 :code =" `i-${selectedIcon}`" />
205211 </p >
206212 <div flex =" ~ items-center gap-$f-gap" f-my-2xs f =" $gap $gap-min-8 $gap-max-12" >
0 commit comments