Closed dkilgore-eightfold closed 2 months ago
Updates Stat Tabs layout fixing line clamp word break bug and insets. Addresses TODOs noted here.
padding
bordered
false
margin-left
margin-right
Stat
word-break: break-all;
lineClamp
Before:
After:
ENG-87058
Pull the PR branch and run yarn and yarn storybook. Verify the Stat Tabs stories behave as expected.
yarn
yarn storybook
Stat Tabs
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
SUMMARY:
Updates Stat Tabs layout fixing line clamp word break bug and insets. Addresses TODOs noted here.
padding
whenbordered
isfalse
, but preserves verticalpadding
to preserve existing layoutsmargin-left
andmargin-right
from first and lastStat
whenbordered
isfalse
word-break: break-all;
to only apply whenlineClamp
is activeBefore:
After:
JIRA TASK (Eightfold Employees Only):
ENG-87058
CHANGE TYPE:
TEST COVERAGE:
TEST PLAN:
Pull the PR branch and run
yarn
andyarn storybook
. Verify theStat Tabs
stories behave as expected.