File tree Expand file tree Collapse file tree 4 files changed +38
-6
lines changed
assets/stylesheets/new-stylesheets/pages Expand file tree Collapse file tree 4 files changed +38
-6
lines changed Original file line number Diff line number Diff line change 2424 margin-top : 60px ;
2525 position : relative ;
2626 z-index : 10 ;
27+ line-height : 1.2em ;
2728 }
2829
2930 h3 {
4950 margin-top : 10px ;
5051 display : flex ;
5152
53+ & .centered {
54+ justify-content : center ;
55+ }
56+
5257 i {
5358 filter : var (--site-content-link-with-right-arrow-icon-filter );
5459 }
208213 h2 {
209214 color : var (--site-code-box-text ) !important ;
210215 font-size : 22px ;
211- margin : 0 !important ;
216+ margin : 0 0 10 px 0 !important ;
212217 }
213218
214219 pre {
230235 word-break : break-word ;
231236 }
232237 }
238+
239+ .content-body {
240+ flex-grow : 1 ;
241+ width : 100% ;
242+ }
233243 }
234244
235245 .content {
281291 display : flex ;
282292 flex-direction : column ;
283293 min-height : 200px ;
284-
285- .content-body {
286- flex-grow : 1 ;
287- }
288294 }
289295 }
290296 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ title: Install Swift - Linux
2121 <h2 >Looking for alternate installation options?</h2 >
2222 <div>
2323 <p class="content-copy">
24- <a class="content-link" href="/install/linux/amazonlinux/2">Check them out <i></i></a>
24+ <a class="content-link centered " href="/install/linux/amazonlinux/2">Check them out <i></i></a>
2525 </p>
2626 </div>
2727 </div >
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # #===----------------------------------------------------------------------===##
3+ # #
4+ # # This source file is part of the Swift.org open source project
5+ # #
6+ # # Copyright (c) 2025 Apple Inc. and the Swift.org project authors
7+ # # Licensed under Apache License v2.0
8+ # #
9+ # # See LICENSE.txt for license information
10+ # # See CONTRIBUTORS.txt for the list of Swift.org project authors
11+ # #
12+ # # SPDX-License-Identifier: Apache-2.0
13+ # #
14+ # #===----------------------------------------------------------------------===##
215
316mkdir -p assets/js/vendor
417
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # #===----------------------------------------------------------------------===##
3+ # #
4+ # # This source file is part of the Swift.org open source project
5+ # #
6+ # # Copyright (c) 2025 Apple Inc. and the Swift.org project authors
7+ # # Licensed under Apache License v2.0
8+ # #
9+ # # See LICENSE.txt for license information
10+ # # See CONTRIBUTORS.txt for the list of Swift.org project authors
11+ # #
12+ # # SPDX-License-Identifier: Apache-2.0
13+ # #
14+ # #===----------------------------------------------------------------------===##
215
316prettier --write \
417 " assets/{javascripts/new-javascripts,stylesheets/new-stylesheets}/**/*.{js,scss}" \
You can’t perform that action at this time.
0 commit comments