Skip to content

Commit

Permalink
fix: component button styling for mfe iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Nov 18, 2024
1 parent 4f3f3f7 commit af5bc52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion cms/static/sass/course-unit-mfe-iframe-bundle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
.wrapper-xblock .header-actions .actions-list .action-item .action-button {
@extend %button-styles;

color: $black;
color: $primary;

.fa-ellipsis-v {
font-size: $base-font-size;
}

&:hover {
background-color: $primary;
color: $white;
border-color: $transparent;
}

Expand Down Expand Up @@ -373,6 +374,12 @@
}
}

.library-sync-button {
.action-button-text {
display: none;
}
}

.action-edit {
.action-button-text {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion cms/templates/studio_xblock_wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
data-tooltip="${_("Update available - click to sync")}"
>
<span class="icon fa fa-refresh" aria-hidden="true"></span>
<span>${_("Update available")}</span>
<span class="action-button-text">${_("Update available")}</span>
</button>
</li>
% endif
Expand Down

0 comments on commit af5bc52

Please sign in to comment.