Stack's position to be relative by default so it's child can be anchored
This commit is contained in:
parent
c8f3b5db00
commit
f77b4a9bac
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -4023,7 +4023,9 @@ return __module.exports;
|
||||
|
||||
class DoricStackNode extends DoricGroupViewNode {
|
||||
build() {
|
||||
return document.createElement('div');
|
||||
const ret = document.createElement('div');
|
||||
ret.style.position = "relative";
|
||||
return ret;
|
||||
}
|
||||
layout() {
|
||||
super.layout();
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -3,7 +3,9 @@ import { DoricGroupViewNode, LayoutSpec, FrameSize, LEFT, RIGHT, CENTER_X, CENTE
|
||||
export class DoricStackNode extends DoricGroupViewNode {
|
||||
|
||||
build() {
|
||||
return document.createElement('div')
|
||||
const ret = document.createElement('div')
|
||||
ret.style.position = "relative"
|
||||
return ret
|
||||
}
|
||||
|
||||
layout() {
|
||||
|
Reference in New Issue
Block a user