Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
3afb3eb3
Commit
3afb3eb3
authored
1 year ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
fix block posts layout large
parent
122a7069
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/_theme/blocks/posts.sass
+18
-24
18 additions, 24 deletions
assets/sass/_theme/blocks/posts.sass
layouts/partials/blocks/templates/posts/large.html
+1
-1
1 addition, 1 deletion
layouts/partials/blocks/templates/posts/large.html
with
19 additions
and
25 deletions
assets/sass/_theme/blocks/posts.sass
+
18
−
24
View file @
3afb3eb3
...
@@ -33,27 +33,28 @@
...
@@ -33,27 +33,28 @@
.media
picture
img
.media
picture
img
width
:
100%
width
:
100%
&
--large
&
--large
@include
media-breakpoint-up
(
sm
)
article
.post-meta
display
:
inline
.post
.post
.more
.more
@include
icon
(
arrow-right
,
after
,
true
)
@include
icon
(
arrow-right
,
after
,
true
)
.post-author
.post-author
p
:
:
before
p
:
:
before
display
:
none
display
:
none
@include
media-breakpoint-down
(
desktop
)
.post-meta
display
:
block
line-height
:
0
.post-categories
*
display
:
inline
@include
media-breakpoint-down
(
desktop
)
.post
+
.post
+
.post
margin-top
:
$spacing-4
margin-top
:
$spacing-4
&
-meta
&
-meta
.post-author
.post-author
display
:
inline-flex
display
:
inline
p
display
:
inline
&
::after
&
::after
content
:
'—'
content
:
' — '
margin
:
0
$spacing-1
.post-categories
display
:
flex
p
[
itemprop
=
"articleBody"
]
p
[
itemprop
=
"articleBody"
]
margin-top
:
0
margin-top
:
0
@include
media-breakpoint-up
(
desktop
)
@include
media-breakpoint-up
(
desktop
)
...
@@ -70,25 +71,18 @@
...
@@ -70,25 +71,18 @@
.post-meta
.post-meta
>
*
>
*
display
:
inline
display
:
inline
&
:not
(
:first-child
)
::before
&
:not
(
:last-child
)
::after
content
:
'—'
content
:
' — '
margin-right
:
$spacing-1
>
time
display
:
inline-block
margin-top
:
-2px
.post-author
.post-author
p
p
display
:
inline
display
:
inline
li
margin-right
:
$spacing-2
.post-categories
.post-categories
li
li
display
:
inline-flex
a
margin-right
:
$spacing-2
display
:
inline
padding-bottom
:
3px
&
:not
(
:last-child
)
a
::after
&
:not
(
:last-child
)
::after
content
:
','
content
:
','
@include
in-page-with-sidebar
@include
in-page-with-sidebar
.large
.large
.post
.post
...
...
This diff is collapsed.
Click to expand it.
layouts/partials/blocks/templates/posts/large.html
+
1
−
1
View file @
3afb3eb3
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{{ $heading_level := .heading_level | default 3 }}
{{ $heading_level := .heading_level | default 3 }}
{{ $heading_tag := partial "GetHeadingTag" (dict
{{ $heading_tag := partial "GetHeadingTag" (dict
"level" $heading_level
"level" $heading_level
"attributes" "class='post-title'"
"attributes" "class='post-title'
itemprop='headline'
"
)}}
)}}
{{ $index := .index}}
{{ $index := .index}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment