File tree Expand file tree Collapse file tree
codex-ui/src/vue/layout/page-block Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div
3- class =" page-block "
4- :class = " {
5- 'page-block--stretched': stretched,
6- } "
3+ : class =" [
4+ $style['page-block'],
5+ { [$style[ 'page-block--stretched']] : stretched }
6+ ] "
77 >
88 <!-- Left Sidebar -->
99 <div
1010 v-if =" $slots.left"
11- class =" page-block__sidebar"
11+ : class =" $style[' page-block__sidebar'] "
1212 >
1313 <slot name =" left" />
1414 </div >
1515
1616 <!-- Center Content -->
1717 <div
18- class =" page-block__content"
19- :class =" {'page-block__content--stretched': stretched}"
18+ :class =" [
19+ $style['page-block__content'],
20+ { [$style['page-block__content--stretched']]: stretched }
21+ ]"
2022 >
2123 <slot />
2224 </div >
2325
2426 <!-- Right Sidebar -->
2527 <div
2628 v-if =" $slots.right"
27- class =" page-block__sidebar"
29+ : class =" $style[' page-block__sidebar'] "
2830 >
2931 <slot name =" right" />
3032 </div >
@@ -42,7 +44,7 @@ defineProps({
4244});
4345 </script >
4446
45- <style scoped lang="postcss">
47+ <style module lang="postcss">
4648.page-block {
4749 width : 100 % ;
4850 display : flex;
You can’t perform that action at this time.
0 commit comments