Skip to content

Commit 16804cd

Browse files
authored
fix: element modal action buttons get large size (#2759)
Similar to the ModalActions component, the modals within the Elements folder should set the button size to large for the footer row (action buttons).
1 parent baa15af commit 16804cd

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/elements/common/modal.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import '../../styles/variables';
22
@import './variables';
3+
@import '../../styles/mixins/buttons';
34

45
.be-modal {
56
.be-modal-btns {
@@ -8,6 +9,8 @@
89
padding: 15px 0 0;
910

1011
.btn {
12+
@include bdl-Button--large;
13+
1114
margin-left: 8px;
1215
}
1316
}

src/elements/content-uploader/Footer.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import '../common/variables';
2+
@import '../../styles/mixins/buttons';
23

34
.bcu-footer {
45
display: flex;
@@ -9,6 +10,10 @@
910
background-color: $almost-white;
1011
border-top: 1px solid $bdl-gray-10;
1112

13+
.btn {
14+
@include bdl-Button--large;
15+
}
16+
1217
.bcu-footer-message {
1318
padding: 0 10px;
1419
text-align: center;

src/features/content-explorer/content-explorer/ContentExplorer.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import '../../../styles/variables';
2+
@import '../../../styles/mixins/buttons';
23

34
.content-explorer {
45
.content-explorer-search-new-folder-container {
@@ -86,6 +87,10 @@
8687
padding-top: 20px;
8788
border-top: 1px solid $bdl-gray-10;
8889

90+
.btn {
91+
@include bdl-Button--large;
92+
}
93+
8994
.status-message {
9095
position: absolute;
9196
left: 0;

0 commit comments

Comments
 (0)