Skip to content

Commit 545e883

Browse files
committed
bug修复:专栏详情页显示问题
1 parent 64120fd commit 545e883

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xichao/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
DB_URL='mysql://root:Xichao42@localhost/xichao?charset=utf8'
1616
RDS_DB_URL='mysql://xichao:Xichao42@rdszfuv6jmjjbei.mysql.rds.aliyuncs.com:3306/xichao?charset=utf8'
17-
engine = create_engine(RDS_DB_URL, echo=True, convert_unicode=True)
17+
engine = create_engine(DB_URL, echo=True, convert_unicode=True)
1818

1919
db_session = scoped_session(sessionmaker(autocommit=False,
2020
autoflush=False,

xichao/templates/special_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ <h2> {{ author.nick }} </h2>
173173
&nbsp;&nbsp;该作者没有其他文章
174174
{% endif %}
175175
{% for article in author_other %}
176-
<a href="{{ url_for('article', article_id=article[1])}}">{{article[0]}}</a>
176+
<a href="{{ url_for('article', article_id=article[1])}}" style="height:16px; overflow:hidden">{{article[0]}}</a>
177177
{% endfor %}
178178
</div>
179179
</div>

0 commit comments

Comments
 (0)