Skip to content

Commit 4d83937

Browse files
committed
[bugfix] safari inline elemens word-break; re-build
1 parent b1b9ce8 commit 4d83937

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

css/hux-blog.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*!
2+
* Hux Blog v1.7.0 (http://huxpro.github.io)
3+
* Copyright 2017 Hux <[email protected]>
4+
*/
5+
16
@media (min-width: 1200px) {
27
.post-container,
38
.sidebar-container {
@@ -231,6 +236,7 @@ pre code {
231236
margin-bottom: 15px;
232237
}
233238
.post-container a {
239+
display: inline-block;
234240
color: #337ab7;
235241
}
236242
.post-container a:hover,

css/hux-blog.min.css

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/hux-blog.min.js

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

less/hux-blog.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ pre code{
124124

125125
// In the post.
126126
.post-container{
127-
a{
127+
a{
128+
display: inline-block;
129+
// safari has bugs on word-break on inline elements.
128130
color:#337ab7;
129131
// different to @brand-primary
130132
&:hover,

0 commit comments

Comments
 (0)