Skip to content

Commit

Permalink
fix: fixed drag and drop buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Feb 21, 2024
1 parent 225c85d commit ffd0b4f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/course-unit/CourseUnit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
@import "./sidebar/Sidebar";
@import "./course-xblock/CourseXblock";
@import "./clipboard/paste-component/PasteComponent";
@import "./header-title/HeaderTitle";
5 changes: 4 additions & 1 deletion src/course-unit/course-xblock/CourseXblock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
.pgn__card-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid $light-400;
padding-bottom: map-get($spacers, 2);

&:not(:has(.pgn__card-header-subtitle-md)) {
align-items: center;
}
}

.pgn__card-header-subtitle-md {
Expand Down
2 changes: 1 addition & 1 deletion src/course-unit/header-title/HeaderTitle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const HeaderTitle = ({
message = intl.formatMessage(messages.commonVisibilityMessage);
}

return message ? (<p className="small mb-0">{message}</p>) : null;
return message ? (<p className="header-title__visibility-message mb-0">{message}</p>) : null;
};

useEffect(() => {
Expand Down
4 changes: 4 additions & 0 deletions src/course-unit/header-title/HeaderTitle.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.header-title__visibility-message {
font-size: $font-size-sm;
font-weight: $font-weight-normal;
}

0 comments on commit ffd0b4f

Please sign in to comment.