Skip to content

Commit

Permalink
fix: update styles uikit yc prefix (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx authored Apr 11, 2024
1 parent f41b8bd commit b6421bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/FullscreenImage/FullscreenImage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $closeButtonSize: 36px;
overflow: hidden;
}

&__modal .yc-modal__content,
&__modal .g-modal__content,
&__modal-image {
border-radius: $borderRadius;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/FullscreenMedia/FullscreenMedia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $modalYoutubeWidth: min(65vw, #{$newContentWidth});
}
}

&__modal .yc-modal__content,
&__modal .g-modal__content,
&__modal-image {
border-radius: $borderRadius;
}
Expand Down
2 changes: 1 addition & 1 deletion src/editor/components/ControlPanel/ControlPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $block: '.#{$ns}control-panel';
&__radio-button {
margin-left: $indentXXS;
//align for icons in radio buttons
.yc-radio-button__option {
.g-radio-button__option {
display: flex;
align-items: center;
}
Expand Down
10 changes: 5 additions & 5 deletions src/editor/containers/Form/dynamic-form-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,27 @@
}
}

.df-simple-vertical-accordeon__header .yc-button,
.df-simple-vertical-accordeon__header .g-button,
.df-simple-vertical-accordeon__title {
font-size: var(--header-text-size);
line-height: var(--header-line-height);
}

.df-simple-vertical-accordeon__header {
.yc-button {
.g-button {
--g-button-height: var(--button-height);

display: flex;
justify-content: center;
align-items: center;

.yc-button__icon-inner > svg {
.g-button__icon-inner > svg {
width: var(--icon-size);
height: var(--icon-size);
color: var(--g-color-text-hint);
}

.yc-button__icon_side_right ~ .yc-button__text {
.g-button__icon_side_right ~ .g-button__text {
margin-right: var(--icon-margin);
}
}
Expand Down Expand Up @@ -100,7 +100,7 @@
}

.g-select,
.yc-text-input {
.g-text-input {
min-width: var(--input-min-width);
width: 100%;
}
Expand Down

0 comments on commit b6421bf

Please sign in to comment.