aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/widgets/image-widget/image-widget.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-11-13 18:46:31 +0100
committerArmand Philippot <git@armandphilippot.com>2023-11-13 18:53:15 +0100
commite331106e56d59a8b987230860b66214139c12ef6 (patch)
tree18b595ddd86089b405e9517cd3efc72e2f17a1ab /src/components/organisms/widgets/image-widget/image-widget.module.scss
parent56878f647ea0f1066fa3e222d7aa0d83057f496d (diff)
refactor(components): rewrite ImageWidget component
* remove `imageClassName` prop * replace `image` prop with `img` and expect an image instead of an object * remove `alignment prop` * remove useless CSS
Diffstat (limited to 'src/components/organisms/widgets/image-widget/image-widget.module.scss')
-rw-r--r--src/components/organisms/widgets/image-widget/image-widget.module.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/organisms/widgets/image-widget/image-widget.module.scss b/src/components/organisms/widgets/image-widget/image-widget.module.scss
new file mode 100644
index 0000000..b3f18ec
--- /dev/null
+++ b/src/components/organisms/widgets/image-widget/image-widget.module.scss
@@ -0,0 +1,9 @@
+.link {
+ display: block;
+ transition: all 0.1s ease-in-out 0s;
+
+ &:focus {
+ outline: 3px ridge var(--color-primary);
+ outline-offset: 2px;
+ }
+}