Skip to content

Commit

Permalink
💄 Fix small styling bugs on redaction page
Browse files Browse the repository at this point in the history
- The page number element in the pagination button group had rounded corners
- The fa-icons on the confirm redaction button & no redaction were too close to the text and needed a bit of margin
- The sub-btn-group in the manage attachments page was not shown as part of the btn-group (i.e. had rounded corners)
  • Loading branch information
pajowu committed Sep 15, 2023
1 parent 56200ce commit db63c43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/javascript/components/docupload/file-review.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{ i18n.review }}
</a>
<template v-if="hasSubMenu">
<div class="btn-group-sm" role="group">
<div class="btn-group btn-group-sm" role="group">
<button
type="button"
class="btn btn-outline-secondary dropdown-toggle"
Expand Down
9 changes: 4 additions & 5 deletions frontend/javascript/components/redaction/pdf-redaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
</button>
</div>

<div class="btn-group me-1">
<div class="input-group me-1">
<button
class="pdf-prev btn btn-outline-secondary"
:disabled="!hasPrevious"
Expand All @@ -117,7 +117,7 @@
v-if="hasRedactions || hasPassword"
class="btn-group me-lg-1 ms-auto mt-1 mt-lg-0">
<button class="btn btn-dark" @click="redact">
<i class="fa fa-paint-brush" />
<i class="fa fa-paint-brush me-2" />
<template v-if="hasRedactions">
{{ i18n.redactAndPublish }}
</template>
Expand All @@ -144,8 +144,7 @@
}"
type="submit"
@click="confirmNoRedactions">
<i class="fa fa-check" />
{{ i18n.publishWithoutRedaction }}
<i class="fa fa-check me-2" />{{ i18n.publishWithoutRedaction }}
</button>
</form>
<a v-else class="btn btn-secondary" :href="attachmentUrl">
Expand Down Expand Up @@ -189,7 +188,7 @@
</div>
<div class="row">
<div v-if="ready" class="btn-toolbar col-lg-12">
<div class="btn-group me-auto ms-auto">
<div class="input-group me-auto ms-auto">
<button
class="pdf-prev btn btn-outline-secondary"
:disabled="!hasPrevious"
Expand Down

0 comments on commit db63c43

Please sign in to comment.