Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
97ec351ac69ecfa76c229bbe49aa47dd8c2921ec
1 parent
2d27869f
fix style issue
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
apps/channel/views/partial/editorial.hbs
public/scss/channel/_editorial.css
apps/channel/views/partial/editorial.hbs
View file @
97ec351
<div
class=
"editorial-container"
>
{{>
floor-header
}}
<div
class=
"news-container"
>
{{#
editorial
}}
<div
class=
"news left"
>
{{#
big
}}
...
...
@@ -12,4 +13,5 @@
{{/
small
}}
</div>
{{/
editorial
}}
</div>
</div>
...
...
public/scss/channel/_editorial.css
View file @
97ec351
...
...
@@ -6,6 +6,10 @@
@extend
.resource-container;
.news-container
{
height
:
calc
(
$
smallImgHeight
*
2
+$
space
+
2px
);
}
.news
{
display
:
inline-block
;
box-sizing
:
border-box
;
...
...
@@ -20,6 +24,7 @@
img
{
@extend
.cursor-pointer;
display
:
inline-block
;
}
&
.left
{
...
...
Please
register
or
login
to post a comment