@@ -45,43 +45,43 @@ export class CanvasElement extends LitElement {
4545 display: flex;
4646 }
4747
48- div:not(.vertical) {
49- flex-direction: row;
50- }
51-
52- div.vertical {
53- flex-direction: column;
54- }
55-
5648 /* Any canvas section is in flexbox mode with a fixed size */
5749 ::slotted(wc-canvas-section),::slotted(wc-canvas-navbar) {
5850 display: flex;
5951 justify-content: start;
6052 border-style: none;
6153 }
6254
63- /* The first section in vertical mode gets a border below */
64- div.vertical > ::slotted(wc-canvas-navbar:first-child),div.vertical > ::slotted(wc-canvas-section:first-child) {
65- min-height: 40px;
66- border-bottom-style: solid;
67- }
55+ div.vertical {
56+ flex-direction: column;
6857
69- /* The first section in horizontal mode gets a border right */
70- div:not(.vertical) > ::slotted(wc-canvas-navbar:first-child), div:not(.vertical) > ::slotted(wc-canvas-section:first-child) {
71- min-width: 60px ;
72- border-right -style: solid;
73- }
58+ /* The first section in vertical mode gets a border below */
59+ > ::slotted(wc-canvas-navbar:first-child),::slotted(wc-canvas-section:first-child) {
60+ min-height: 40px ;
61+ border-bottom -style: solid;
62+ }
7463
75- /* The last section in vertical mode gets a border above */
76- div.vertical > ::slotted(wc-canvas-navbar:last-child),div.vertical > ::slotted(wc-canvas-section:last-child) {
77- min-height: 30px;
78- border-top-style: solid;
64+ /* The last section in vertical mode gets a border above */
65+ > ::slotted(wc-canvas-navbar:last-child),::slotted(wc-canvas-section:last-child) {
66+ min-height: 30px;
67+ border-top-style: solid;
68+ }
7969 }
8070
81- /* The last section in horizonal mode gets a border left */
82- div:not(.vertical) > ::slotted(wc-canvas-navbar:last-child),div:not(.vertical) > ::slotted(wc-canvas-section:last-child) {
83- min-width: 60px;
84- border-left-style: solid;
71+ div:not(.vertical) {
72+ flex-direction: row;
73+
74+ /* The first section in horizontal mode gets a border right */
75+ > ::slotted(wc-canvas-navbar:first-child),::slotted(wc-canvas-section:first-child) {
76+ min-width: 60px;
77+ border-right-style: solid;
78+ }
79+
80+ /* The last section in horizonal mode gets a border left */
81+ > ::slotted(wc-canvas-navbar:last-child),::slotted(wc-canvas-section:last-child) {
82+ min-width: 60px;
83+ border-left-style: solid;
84+ }
8585 }
8686
8787 /* Flex containers stretch */
0 commit comments