mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Update to center-children docs
This commit is contained in:
parent
b49d6b883a
commit
6578755af2
1 changed files with 3 additions and 1 deletions
|
|
@ -145,7 +145,9 @@ nil. Resizable only works if overflow is set to :SCROLL"))
|
|||
(defgeneric center-children (clog-element &key vertical horizontal)
|
||||
(:documentation "Align children of CLOG-ELEMENT VERTICAL (default t)
|
||||
and/or HORIZONTAL (default t). This will set the DISPLAY property of
|
||||
CLOG-ELEMENT to :FLEX."))
|
||||
CLOG-ELEMENT to :FLEX. Note: if children of clog-element are using
|
||||
absolute positioning they will not flow with flex and will not be
|
||||
centered."))
|
||||
|
||||
(defmethod center-children ((obj clog-element) &key (vertical t) (horizontal t))
|
||||
(set-styles obj `(("display" "flex")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue