Skip to content

Commit f056f1a

Browse files
committed
fix style issue in put_tabs() widget
reproduce code: ``` put_tabs([ {'title': 'Text', 'content': 'Hello world'}, {'title': 'Markdown', 'content': put_markdown('~~Strikethrough~~')}, ]).style('height:500px') ```
1 parent d7ff3ff commit f056f1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pywebio/html/css/app.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ details[open]>summary {
226226
border-radius: .25rem;
227227
overflow: hidden;
228228
display: flex;
229-
flex-wrap: wrap
229+
flex-wrap: wrap;
230+
align-content: flex-start;
230231
}
231232

232233
.webio-tabs > label {

0 commit comments

Comments
 (0)