mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-11-05 05:12:55 +00:00
Expose layout mixins to a new file and use it accordingly to have control over component positioning from shadow DOM elements
This commit is contained in:
@@ -1 +1 @@
|
||||
<div #xterm class="tfw-xterm" (window:resize)="fit()"></div>
|
||||
<div #xterm class="tfw-xterm"></div>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
@import "../../assets/scss/mixins/layout.scss";
|
||||
|
||||
|
||||
.tfw-xterm {
|
||||
.xterm {
|
||||
@include set-component-size('terminal');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user