Skip to content

Commit

Permalink
💄 Style: update douyin shortcode style in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed May 22, 2024
1 parent efd7b86 commit 70afe3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions assets/css/_shortcodes/_douyin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@
top: 0;
}
}

@media only screen and (max-width: 680px) {
.douyin {
width: 92%;
margin-left: 8%;
padding-bottom: 190%;
}
}
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.7" -}}
{{- .Scratch.Set "version" "v0.3.8-RC" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down

0 comments on commit 70afe3e

Please sign in to comment.