Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
a63ca0fe
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a63ca0fe
编写于
8月 26, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix responsive of site
上级
c1ea01b0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
48 addition
and
7 deletion
+48
-7
scripts/demo.js
scripts/demo.js
+1
-1
site/templates/layout.html
site/templates/layout.html
+1
-0
static/script.js
static/script.js
+4
-0
static/style.css
static/style.css
+42
-6
未找到文件。
scripts/demo.js
浏览文件 @
a63ca0fe
...
...
@@ -35,7 +35,7 @@ $(function () {
},
render
()
{
return
<
Select
combobox
style
=
{{
width
:
260
}}
return
<
Select
combobox
style
=
{{
width
:
'
100%
'
}}
onSelect
=
{
this
.
handleSelect
}
optionLabelProp
=
"
text
"
dropdownClassName
=
"
autoComplete
"
...
...
site/templates/layout.html
浏览文件 @
a63ca0fe
...
...
@@ -106,6 +106,7 @@
</li>
</ul>
</nav>
<div
class=
"nav-phone-icon"
></div>
</header>
<div
class=
"main-wrapper"
>
{% block aside %}{% endblock %} {% block content %}{% endblock %}
...
...
static/script.js
浏览文件 @
a63ca0fe
...
...
@@ -37,6 +37,10 @@ $(function() {
// 移动 API 文档到演示下方
$
(
'
.markdown #api
'
).
nextAll
().
andSelf
().
appendTo
(
'
.api-container
'
);
$
(
'
.nav-phone-icon
'
).
click
(
function
()
{
$
(
this
).
prev
().
toggle
();
});
$
.
easing
[
'
jswing
'
]
=
$
.
easing
[
'
swing
'
];
$
.
extend
(
$
.
easing
,{
easeInCirc
:
function
(
x
,
t
,
b
,
c
,
d
)
{
...
...
static/style.css
浏览文件 @
a63ca0fe
...
...
@@ -105,7 +105,7 @@ a.logo {
.search
{
float
:
left
;
height
:
22px
;
padding
:
0px
30px
;
padding
:
0px
0
0
30px
;
margin
:
32px
auto
0
;
border-left
:
1px
solid
#EBEDEE
;
position
:
relative
;
...
...
@@ -113,6 +113,7 @@ a.logo {
#autoComplete
{
margin-top
:
-2px
;
width
:
230px
;
}
#autoComplete
.ant-select
{
...
...
@@ -1883,10 +1884,31 @@ a.entry-link:hover .anticon-smile {
.logo
{
margin
:
10px
;
width
:
110px
;
height
:
auto
;
}
.nav
{
position
:
absolute
;
z-index
:
1000
;
top
:
50px
;
right
:
0
;
background
:
#fff
;
overflow
:
hidden
;
height
:
auto
;
line-height
:
50px
;
margin-right
:
0
;
border
:
1px
solid
#e9e9e9
;
width
:
50%
;
}
.nav
.bar
{
display
:
none
!important
;
}
.nav
ul
li
{
width
:
100%
;
}
.nav-phone-icon
{
display
:
block
;
width
:
49px
;
...
...
@@ -1915,11 +1937,25 @@ a.entry-link:hover .anticon-smile {
height
:
calc
(
100%
-
86px
);
}
footer
ul
{
display
:
none
;
.aside-container
{
float
:
none
;
width
:
auto
;
}
footer
h3
{
display
:
block
;
.main-container
{
margin-left
:
0
;
}
.markdown
{
width
:
100%
;
}
footer
{
text-align
:
center
;
}
footer
ul
li
{
float
:
none
;
width
:
auto
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录