Skip to content

Commit e988a5d

Browse files
committed
Merge branch 'gh-pages'
2 parents 079f5dc + bf67751 commit e988a5d

File tree

10 files changed

+3706
-1603
lines changed

10 files changed

+3706
-1603
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"presets": ["react", "es2015", "stage-0"],
2+
"presets": ["@babel/preset-react", "@babel/preset-env"],
33
"plugins": [
4+
"@babel/plugin-proposal-class-properties",
45
"add-module-exports",
56
["transform-es2015-modules-umd", {
67
"globals": {

build/bundle.js

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/bundle.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@
77
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
88
<link href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css' rel='stylesheet' type='text/css' />
99
<title>React Truncate Text Demo</title>
10+
<style type="text/css">
11+
#sample-12 .address {
12+
display: flex;
13+
width: calc((100% - 388px) / 2 - 48px);
14+
margin: 24px;
15+
font-family: 'AvenirNext-Medium';
16+
font-size: 14px;
17+
color: var(--main-text);
18+
justify-content: center;
19+
}
20+
21+
#sample-12 .container {
22+
display: flex;
23+
flex: 1;
24+
flex-direction: column;
25+
height: 100%;
26+
position: relative;
27+
overflow-y: scroll;
28+
background-color: var(--background)
29+
}
30+
</style>
1031
</head>
1132

1233
<body>

0 commit comments

Comments
 (0)