Skip to content

Commit

Permalink
Fix outline icons
Browse files Browse the repository at this point in the history
  • Loading branch information
smartspot2 committed Feb 29, 2024
1 parent c747328 commit 6c663d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion csm_web/frontend/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function Header(): React.ReactElement {
<h3 className="site-subtitle">Policies</h3>
</NavLink>
<a id="logout-btn" href="/logout" title="Log out">
<LogOutIcon width="1.25em" height="1.25em" />
<LogOutIcon className="icon" />
</a>
</div>
</header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function MentorListItem({
<div className={classString}>
{removeIcon}
<EyeIcon
className="icon mentor-list-icon mentor-list-item-view"
className="icon outline mentor-list-icon mentor-list-item-view"
onClick={() => hasPreferences && setSelectedMentor(mentor)}
/>
<div className="mentor-list-item-name">{mentor.name}</div>
Expand Down
5 changes: 5 additions & 0 deletions csm_web/frontend/src/css/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ h6 {
stroke: currentcolor;
}

// some icons are outline icons that require no fill
.icon.outline {
fill: none;
}

/// Styling for relation label; used across multiple pages
.relation-label {
min-width: 60px;
Expand Down
4 changes: 2 additions & 2 deletions csm_web/frontend/src/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ header {
margin: auto 5px auto 30px;
}

#logout-btn * {
#logout-btn .icon {
vertical-align: middle;
fill: #808080;
}

#logout-btn:hover * {
#logout-btn:hover .icon {
fill: #5e5e5e;
}

Expand Down
4 changes: 2 additions & 2 deletions csm_web/frontend/src/css/section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
}

#copy-student-emails {
margin-right: 8px;
cursor: pointer;
}

Expand Down Expand Up @@ -382,8 +383,7 @@
#attendance-date-tabs-container {
display: flex;
margin: 0 -40px;
overflow-x: scroll;
overflow-y: hidden;
overflow: scroll hidden;
}

#attendance-date-tabs-container > div {
Expand Down

0 comments on commit 6c663d7

Please sign in to comment.