fix: Course list icons - 24px size + attempt color preservation
- Reduced course responsibility icons to 24px (was 80px) - Added color: inherit !important to try preserving inline color styles - Removed borders, backgrounds, and padding for cleaner inline appearance Note: color: inherit may inherit from parent theme color rather than preserving individual icon colors. May need adjustment.
This commit is contained in:
@@ -88,7 +88,24 @@
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
/* Inline icons within course descriptions only (not the main list icons) */
|
||||
/* Course list icons in responsibilities - smaller size with preserved colors */
|
||||
.course-item .responsibilities li iconify-icon.default-company-icon {
|
||||
width: 24px !important; /* Small but visible */
|
||||
height: 24px !important;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
color: inherit !important; /* DO NOT override inline color styles */
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* Inline icons within course descriptions */
|
||||
.course-desc iconify-icon {
|
||||
width: 1.2em !important; /* Override inline width attributes */
|
||||
height: 1.2em !important; /* Override inline height attributes */
|
||||
|
||||
Reference in New Issue
Block a user