Skip to content

Commit 1ff6efe

Browse files
authored
outline: use a fluid container for html output format (#136)
* outline: use a fluid container for html output format * golangci-lint: disable new mnd linter * copywrite: add missing headers Signed-off-by: Ryan Cragun <me@ryan.ec>
1 parent ed68b68 commit 1ff6efe

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ linters:
108108
- maintidx
109109
- maligned
110110
- musttag
111+
- mnd
111112
- nakedret
112113
- nestif
113114
- nonamedreturns

internal/diagnostics/error.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) HashiCorp, Inc.
2+
// SPDX-License-Identifier: MPL-2.0
3+
14
package diagnostics
25

36
import (

internal/ui/html/template/outline.html.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- vim: ft=html -->
1+
<!-- vim: set ft=html: -->
22
<!doctype html>
33
<html lang="en">
44
<head>
@@ -9,7 +9,7 @@
99
</head>
1010
<body>
1111
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
12-
<div class="container">
12+
<div class="container-fluid">
1313
<div class="row gy-5">
1414
<div class="col-12">
1515
<div class="p-3">

0 commit comments

Comments
 (0)