From d946b22facd7e3be10ade14a5be19099c9932c4c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 26 Oct 2024 16:10:35 +0200 Subject: Add media-view --- src/layouts/_media-view.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/layouts/_media-view.scss (limited to 'src/layouts') diff --git a/src/layouts/_media-view.scss b/src/layouts/_media-view.scss new file mode 100644 index 0000000..2c53db6 --- /dev/null +++ b/src/layouts/_media-view.scss @@ -0,0 +1,18 @@ +@use 'sass:meta'; +@use 'iro-sass/src/bem'; +@use 'iro-sass/src/props'; +@use '../props' as *; + +@mixin styles { + @include bem.layout('media-view') { + display: flex; + flex-direction: column; + min-block-size: 100%; + + @include bem.elem('footer') { + position: sticky; + inset-block-end: 0; + margin-block-start: auto; + } + } +} -- cgit v1.2.3-70-g09d2