Skip to content

Commit

Permalink
feat(editor): fixed style, texts
Browse files Browse the repository at this point in the history
  • Loading branch information
makhnatkin committed Sep 24, 2024
1 parent c8ef3c7 commit 786e35b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"header_actions_howToStart": "How to Start",
"news_title": "Recent updates",
"banner_title": "Introducing MarkdownEditor",
"banner_content": "Markdown-editor combines two modes.<br />It allows you to create and edit content in a convenient visual form while retaining full control over the underlying markup.<br /><br /><a href=\"/libraries/markdown-editor/playground\">Test it on the code playground ✨</a>.",
"banner_content": "Markdown-editor combines two modes.<br />It allows you to create and edit content in a convenient visual form while retaining full control over the underlying markup.<br /><br /><a href=\"/libraries/markdown-editor/playground\">Test it on the playground ✨</a>.",
"news_items_item1": "We're thrilled to unveil <a href=\"/themer\">Themer</a>. Now you can easily customize our design system to your brand style and export your theme as a CSS file.",
"news_items_item2": "500⭐️ for our <a href=\"/libraries/uikit\">UIKit</a>! We just wanted to say thanks for all the support and <a href=\"https://github.com/gravity-ui/uikit/issues\">feedback</a> we've been getting. There's more to come, so stay tuned!",
"news_items_item3": "We've released the <a href=\"/components/uikit/pin-input\">PinInput component</a>. You may need it to enter OTP or confirmation codes.",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/ru/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"header_actions_howToStart": "С чего начать",
"news_title": "Новости",
"banner_title": "Представляем MarkdownEditor",
"banner_content": "Markdown-редактор объединяет два режима. Это даёт возможность создавать и редактировать контент в удобной визуальной форме, не теряя контроля над исходной разметкой.<br /><br /><a href=\"/libraries/markdown-editor/playground\">Попробуйте его в playground ✨</a>.",
"banner_content": "Markdown-редактор объединяет два режима. Это даёт возможность создавать и редактировать контент в удобной визуальной форме, не теряя контроля над исходной разметкой.<br /><br /><a href=\"/libraries/markdown-editor/playground\">Попробуйте в playground ✨</a>.",
"news_items_item1": "Мы запустили новый раздел <a href=\"/themer\">Themer</a>. В нём вы можете легко адаптировать нашу дизайн-систему к своему бренду и экспортировать результат в CSS файл.",
"news_items_item2": "500⭐️ у <a href=\"/libraries/uikit\">UIKit</a>! Просто хотим поблагодарить вас за поддержку и <a href=\"https://github.com/gravity-ui/uikit/issues\">идеи</a>. Впереди много нового, продолжайте следить за проектом!",
"news_items_item3": "Мы выложили <a href=\"/components/uikit/pin-input\">компонент PinInput</a>. Он может пригодиться для ввода OTP кодов или подтверждений.",
Expand Down
4 changes: 4 additions & 0 deletions src/blocks/CustomHeader/CustomHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ $block: '.#{variables.$ns}custom-header';
border-radius: 24px;
background-color: rgba(37, 27, 37, 0.5);
backdrop-filter: blur(60px);

@media (max-width: map-get(pcVariables.$gridBreakpoints, 'lg') - 1) {
margin-top: 32px;
}
}
&__banner-image {
width: 100%;
Expand Down
3 changes: 1 addition & 2 deletions src/components/Library/Library.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ export const Library: React.FC<Props> = ({lib}) => {
<span>{t('actions_storybook')}</span>
</Button>
) : null}
{lib.config.id !== 'icons' &&
availablePlaygrounds.includes(lib.config.id) ? (
{availablePlaygrounds.includes(lib.config.id) ? (
<Button
key="playground"
className={b('button')}
Expand Down

0 comments on commit 786e35b

Please sign in to comment.