Skip to content

Commit ca2613d

Browse files
committed
refactor: improve formatting and consistency in InfoIcon component and documentation
1 parent 291ab9d commit ca2613d

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

src/components/InfoIcon.vue

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
<template>
2-
<div class="inline-flex items-center relative cursor-help group">
3-
<Icon
4-
icon="heroicons:information-circle"
5-
class="w-3.5 h-3.5 opacity-60 transition-opacity duration-200 text-gray-600 hover:opacity-100 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200"
2+
<div class="group relative inline-flex cursor-help items-center">
3+
<Icon
4+
icon="heroicons:information-circle"
5+
class="h-3.5 w-3.5 text-gray-600 opacity-60 transition-opacity duration-200 hover:text-gray-800 hover:opacity-100 dark:text-gray-400 dark:hover:text-gray-200"
66
/>
7-
<span class="invisible absolute bottom-full left-1/2 transform -translate-x-1/2 bg-gray-800 text-white text-xs p-2 rounded w-max max-w-xs shadow-lg z-50 opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100 before:content-[''] before:absolute before:top-full before:left-1/2 before:transform before:-translate-x-1/2 before:border-4 before:border-solid before:border-gray-800 before:border-b-transparent before:border-l-transparent before:border-r-transparent">
7+
<span
8+
class="invisible absolute bottom-full left-1/2 z-50 w-max max-w-xs -translate-x-1/2 transform rounded bg-gray-800 p-2 text-xs text-white opacity-0 shadow-lg transition-all duration-200 group-hover:visible group-hover:opacity-100 before:absolute before:top-full before:left-1/2 before:-translate-x-1/2 before:transform before:border-4 before:border-solid before:border-gray-800 before:border-r-transparent before:border-b-transparent before:border-l-transparent before:content-['']"
9+
>
810
{{ tooltip }}
911
</span>
1012
</div>
1113
</template>
1214

1315
<script setup>
14-
import { Icon } from '@iconify/vue'
16+
import { Icon } from '@iconify/vue';
1517
1618
defineProps({
1719
tooltip: {
1820
type: String,
19-
required: true
20-
}
21-
})
21+
required: true,
22+
},
23+
});
2224
</script>

src/overview/helloWorld/3-buildIApp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,17 +258,17 @@ iapp deploy
258258

259259
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
260260
<p class="m-0!">📝 Make sure to save your <span class="text-fuchsia-700 font-semibold">iApp address</span> after deployment - you'll need it later!</p>
261-
<p>You can find your iApp address in the <code>iexec-app.json</code> file in your project folder.</p>
261+
<p class="m-0!">You can find your iApp address in the <code>iexec-app.json</code> file in your project folder.</p>
262262
<br>
263-
<p>⚠️ If you encounter issues during deployment, make sure Docker's BuildKit feature is enabled and supports AMD64 architecture:</p>
263+
<p class="m-0!">⚠️ If you encounter issues during deployment, make sure Docker's BuildKit feature is enabled and supports AMD64 architecture:</p>
264264

265265
```sh
266266
docker buildx inspect --bootstrap | grep -i platforms
267267
```
268268

269-
<p>The output should include <code>linux/amd64</code> in the list of supported platforms. If not, update to the latest Docker Desktop version which includes these requirements.</p>
269+
<p class="m-0!">The output should include <code>linux/amd64</code> in the list of supported platforms. If not, update to the latest Docker Desktop version which includes these requirements.</p>
270270
<br>
271-
<p>⚠️ If you set the wrong Docker username, you can change it by editing the <code>iapp.config.json</code> file</p>
271+
<p class="m-0!">⚠️ If you set the wrong Docker username, you can change it by editing the <code>iapp.config.json</code> file</p>
272272
</div>
273273

274274
## 🏃 Run Your iApp

0 commit comments

Comments
 (0)