Skip to content

Commit e3a4ea9

Browse files
authored
Merge pull request #13628 from hellcp-work/bs5-gutter
Gutter shim for bootstrap 5 migration
2 parents 62f9741 + d7fef92 commit e3a4ea9

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/api/app/assets/stylesheets/webui/bs5-shims.scss

+2
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
@extend .fas;
2727
@extend .fa-xmark;
2828
}
29+
30+
.g-0 { @extend .no-gutters; }

src/api/app/views/webui/groups/_group_members.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
action: group_user_path(group_title: group.title, user_login: user.login) }) do
1818
.float-end
1919
%i.fas.fa-sm.fa-times-circle.text-danger
20-
.row.no-gutters
20+
.row.g-0
2121
.col-md-3
2222
= image_tag_for(user, size: 80, custom_class: 'align-self-center')
2323
.col-md-9

src/api/app/views/webui/monitor/_lights.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- if partition['name'].present?
44
%h3= partition['name']
55
- if partition.key?('daemon')
6-
.row.p-2.no-gutters
6+
.row.p-2.g-0
77
- partition.elements('daemon') do |daemon|
88
.col-6.col-sm-3.col-md-2.col-lg-1.p-1
99
.h-100.p-2.border.text-center

src/api/app/views/webui/search/_results_owner.html.haml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
.d-flex.flex-wrap.flex-column.flex-md-row
2121
- records.each do |record|
2222
.card.m-1.p-2.search-result
23-
.row.no-gutters
23+
.row.g-0
2424
.col-auto
2525
= link_to(user_or_group_path(record)) do
2626
= image_tag_for(record, size: 60, custom_class: 'align-self-center shadow-lg border border-secondary rounded border-2')

0 commit comments

Comments
 (0)