mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 07:03:42 +08:00
Allow the user to just see the post in its originally written form. This does not change any user prefs. https://github.com/user-attachments/assets/50617edc-0bbb-4a1f-8f82-711ca7f6dd2c https://github.com/user-attachments/assets/a978a0b2-b708-416d-93ba-7464f9ccab42
45 lines
1 KiB
SCSS
Vendored
45 lines
1 KiB
SCSS
Vendored
.post-translations-modal {
|
|
table {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.fk-d-menu.post-language-selector-content {
|
|
z-index: z("composer", "dropdown");
|
|
|
|
// eventho mobile composer shouldnt be used in conjuction with fk-d-menu (floating version), on tablets the possibility unfortunately exists
|
|
.discourse-touch & {
|
|
z-index: z("mobile-composer");
|
|
}
|
|
}
|
|
|
|
.fk-d-tooltip__content[data-identifier="post-language"]
|
|
.fk-d-tooltip__inner-content {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
|
|
.post-language__original-language {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
padding: 0;
|
|
text-align: start;
|
|
}
|
|
|
|
.post-language__disclaimer {
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-down-2);
|
|
margin-top: var(--space-1);
|
|
}
|
|
}
|
|
|
|
.post-language-selector-trigger {
|
|
.toolbar-popup-menu-options__trigger-label {
|
|
margin-left: var(--space-1);
|
|
font-size: var(--font-down-2);
|
|
text-transform: uppercase;
|
|
color: var(--primary-high);
|
|
}
|
|
}
|