Skip to content

Commit 8f07aa5

Browse files
committed
fix: component button styling for mfe iframe
1 parent 2bf5006 commit 8f07aa5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cms/static/sass/course-unit-mfe-iframe-bundle.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@
4343
.wrapper-xblock .header-actions .actions-list .action-item .action-button {
4444
@extend %button-styles;
4545

46-
color: $black;
46+
color: $primary;
4747

4848
.fa-ellipsis-v {
4949
font-size: $base-font-size;
5050
}
5151

5252
&:hover {
5353
background-color: $primary;
54+
color: $white;
5455
border-color: $transparent;
5556
}
5657

@@ -373,6 +374,12 @@
373374
}
374375
}
375376

377+
.library-sync-button {
378+
.action-button-text {
379+
display: none;
380+
}
381+
}
382+
376383
.action-edit {
377384
.action-button-text {
378385
display: none;

cms/templates/studio_xblock_wrapper.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
data-tooltip="${_("Update available - click to sync")}"
144144
>
145145
<span class="icon fa fa-refresh" aria-hidden="true"></span>
146-
<span>${_("Update available")}</span>
146+
<span class="action-button-text">${_("Update available")}</span>
147147
</button>
148148
</li>
149149
% endif

0 commit comments

Comments
 (0)