Skip to content

Commit 4d3fb99

Browse files
Fix: download button expanding outside container
Added `box-sizing: border-box` to `.mmw-download-link` to prevent it overflowing containers such as infobox callouts and thereby causing it to add a scrollbar to the download button.
1 parent 416c421 commit 4d3fb99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quartz/styles/custom.scss

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ a.mmw-download-link:link, a.mmw-download-link:visited {
136136
width: 100%;
137137
transition: .4s;
138138
padding: 6px;
139+
box-sizing: border-box;
139140
}
140141

141142
a.mmw-download-link:hover, a.mmw-download-link:active {

0 commit comments

Comments
 (0)