element-plus/docs/.vitepress/vitepress/styles/content.scss
kooriookami a64026dc7a
style(theme-chalk): replace word-break with overflow-wrap (#15190)
* style(theme-chalk): replace word-break with overflow-wrap

closed #15167

* style(theme-chalk): remove text-align: justify

* style(theme-chalk): update

* style(theme-chalk): update

---------

Co-authored-by: 一只前端汪 <985313519@qq.com>
2023-12-21 15:21:12 +08:00

39 lines
832 B
SCSS

@use './mixins' as *;
@use './vars' as *;
@use './content/doc-content';
@use './content/hero-content';
@use './content/tag-content';
.page-content {
outline: none;
@include respond-to('lg') {
padding-top: var(--nav-height);
&.has-sidebar {
padding-left: calc(var(--sidebar-width-sm) + 10px);
@include respond-to('xlg') {
padding-left: calc(var(--vp-sidebar-width-small) - $scrollbar-size);
}
@include respond-to('xxl') {
padding-left: calc(
(100% - var(--vp-screen-max-width)) / 2 +
var(--vp-sidebar-width-small)
);
}
}
}
.doc-content a {
display: inline-flex;
align-items: center;
&.vp-link {
white-space: nowrap;
}
.link-icon {
margin-left: 0.25rem;
height: 1em;
width: 1em;
}
}
}