From 181c0e43cd0ece6512a41815b7eacf83bea8c77e Mon Sep 17 00:00:00 2001 From: David Bau Date: Wed, 20 Apr 2022 09:06:50 -0400 Subject: [PATCH] Rename INLINE to TIGHT. --- baukit/show.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/baukit/show.py b/baukit/show.py index 3386176..85fe6b2 100644 --- a/baukit/show.py +++ b/baukit/show.py @@ -223,17 +223,17 @@ TABLE = Tag('table', ChildTag(TR)) # Remove defaults PLAIN = Tag() -# The INLINE style allows the content to provide the size, instead of +# The TIGHT style allows the content to provide the size, instead of # expanding to fill the available space. -INLINE = Tag( +TIGHT = Tag( style(display='inline-flex', flex=None, flexFlow='column', gap='3px'), ChildTag(H)) -# WRAP provides wrapping lines of INLINE boxes, akin to layout of text +# WRAP provides wrapping lines of TIGHT boxes, akin to layout of text WRAP = Tag( style(display='flex', flex='1', flexFlow='row wrap', gap='3px', alignItems='start'), - ChildTag(INLINE)) + ChildTag(TIGHT)) tag_stack = [V]