mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_view_header: Fix bad rendering of stream links in description.
This bad rendering was the result of unwanted css applied in the stream description. In message view header, the stream link (title) we have defined has css defined but the markdown rendered stream link in stream description had the same class resulting in unwanted css applied to it. Fixes: #25961. Signed-off-by: Akshat <akshat25iiit@gmail.com>
This commit is contained in:
@@ -107,7 +107,7 @@ async function navigation_tests(page: Page): Promise<void> {
|
||||
// Verify that we're narrowed to the target stream
|
||||
await page.waitForSelector(
|
||||
`xpath///*[@id="message_view_header"]//*[${common.has_class_x(
|
||||
"stream",
|
||||
"message-header-stream-settings-button",
|
||||
)} and normalize-space()="Verona"]`,
|
||||
);
|
||||
}
|
||||
|
@@ -1929,7 +1929,7 @@ div.focused_table {
|
||||
}
|
||||
|
||||
.sub_count,
|
||||
.stream,
|
||||
.message-header-stream-settings-button,
|
||||
& > span {
|
||||
white-space: nowrap;
|
||||
list-style-type: none;
|
||||
@@ -1965,7 +1965,7 @@ div.focused_table {
|
||||
}
|
||||
}
|
||||
|
||||
.stream {
|
||||
.message-header-stream-settings-button {
|
||||
text-overflow: clip;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{#if stream_settings_link}}
|
||||
<a class="stream" href="{{stream_settings_link}}">
|
||||
<a class="message-header-stream-settings-button" href="{{stream_settings_link}}">
|
||||
{{> navbar_icon_and_title }}
|
||||
</a>
|
||||
<div class="divider only-visible-for-spectators">|</div>
|
||||
|
Reference in New Issue
Block a user