Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sikhote committed Dec 16, 2024
1 parent bf23abd commit 35219ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mediaObject/CdrMediaObject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { getLayoutStyling } from '../../utils/mediaObject';
import CdrLayout from '../layout/CdrLayout.vue';
import { breakpoints, spacing } from '../../utils/other';
/** Component for buttons that have a checked state. */
/** Component that pairs images or videos with related text in a consistent way */
defineOptions({ name: 'CdrMediaObject' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ $media-object-component: 'media-object';
@mixin cdr-media-object-base-mixin($component) {
& > .cdr-#{$component}__media {
grid-area: media;

& > :first-child {
display: block;
}
}

& > .cdr-#{$component}__content {
Expand Down
1 change: 1 addition & 0 deletions src/types/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export interface MediaObject extends Layout {
align?: Alignment;
/**
* The position of the media, in relation to the content. This can be an object with values for each Cedar breakpoint (xs, sm, md, lg).
* @demoSelectMultiple false
* @values top, right, bottom, left
*/
mediaPosition?: Position;
Expand Down

0 comments on commit 35219ff

Please sign in to comment.