Skip to content

Commit 7fbf134

Browse files
authored
Merge pull request #420 from NGO-Algorithm-Audit/feature/20260312
Feature/20260312
2 parents af4b39f + b75a564 commit 7fbf134

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

assets/scss/_common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,8 @@ $accent: #FF4081;
12101210
position: sticky;
12111211
top: 80px;
12121212
z-index: 1000;
1213+
overflow-y: scroll;
1214+
max-height: 90vh;
12131215
}
12141216
}
12151217
body {

layouts/shortcodes/image.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
{{ $width_mobile = .Get "width_mobile" }}
1111
{{ end }}
1212

13-
<div class="row mb-5 align-items-center" id={{ .Get "id" }}>
13+
<div class="row mb-5 justify-content-center align-items-center" id={{ .Get "id" }}>
1414
{{ range (seq 1 4)}}
1515
{{ if $.Get (print "image" .) }}
1616
{{ $image := $.Get (print "image" .) | relURL }}
1717
{{ $alt := $.Get (print "alt" .) | relURL }}
1818
{{ $caption := $.Get (print "caption" .) | relURL }}
1919
{{ $link := $.Get (print "link" .) | relURL }}
20-
<div class="col-lg-{{ $width_desktop }} col-{{ $width_mobile }} center-block ">
20+
<div class="col-lg-{{ $width_desktop }} col-{{ $width_mobile }} center-block my-4 my-lg-0">
2121
{{ if $link }}
2222
<a href={{ $link }} target="_blank">
2323
{{ end }}

0 commit comments

Comments
 (0)