Skip to content

Commit

Permalink
Display of Content Security Policy values getting out of screen
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonfl committed May 17, 2024
1 parent d8cf90d commit 4292059
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
11 changes: 5 additions & 6 deletions webui/src/components/_commons/PanelMiddlewares.vue
Original file line number Diff line number Diff line change
Expand Up @@ -809,12 +809,11 @@
<div class="text-subtitle2">
Content Security Policy
</div>
<q-chip
dense
class="app-chip app-chip-green"
>
{{ exData(middleware).contentSecurityPolicy }}
</q-chip>
<q-card class="app-chip app-chip-green app-card-as-chip">
<q-card-section>
{{ exData(middleware).contentSecurityPolicy }}
</q-card-section>
</q-card>
</div>
</div>
</q-card-section>
Expand Down
8 changes: 8 additions & 0 deletions webui/src/css/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ body {
border-radius: 8px;
}

.app-card-as-chip {
box-shadow: none;

.q-card__section {
padding: 5px !important;
}
}

// Chips
.app-chip {
border-radius: 8px;
Expand Down

0 comments on commit 4292059

Please sign in to comment.