From e1620498455d929c425a1c472e3e1f76b0e02053 Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Mon, 27 Feb 2017 13:40:20 -0500 Subject: [PATCH] add comments --- src/ui/public/doc_table/doc_table.less | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ui/public/doc_table/doc_table.less b/src/ui/public/doc_table/doc_table.less index 6ad9e9fdc1ac5..7c3277979640b 100644 --- a/src/ui/public/doc_table/doc_table.less +++ b/src/ui/public/doc_table/doc_table.less @@ -1,13 +1,19 @@ @import (reference) "~ui/styles/variables"; +/** + * 1. Stack content vertically so the table can scroll when its constrained by a fixed container height. + */ doc-table { overflow: auto; flex: 1 1 100%; - flex-direction: column; + flex-direction: column; /* 1 */ + /** + * 1. Allow user to scroll table when its constrained by a fixed container height. + */ .doc-table-container { - flex: 1 1 0; - overflow: auto; + flex: 1 1 0; /* 1 */ + overflow: auto; /* 1 */ } .discover-table-datafield {