Commit a5d07ed3 authored by Jacques's avatar Jacques

Prevent image from overflowing parent

Added a max-width of `100%` to the omage
parent 55bc8d11
...@@ -16,6 +16,6 @@ export default { ...@@ -16,6 +16,6 @@ export default {
</script> </script>
<template> <template>
<div class="gl-text-center gl-p-7 gl-bg-gray-50"> <div class="gl-text-center gl-p-7 gl-bg-gray-50">
<img :src="url" :alt="alt" data-testid="image" /> <img :src="url" :alt="alt" data-testid="image" class="gl-max-w-full" />
</div> </div>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment