Add min-width: 0 to cob content

This allows content that shows a code block to shrink so title can wrap
on desktop.
This commit is contained in:
Sebastian Martinez
2024-01-17 16:51:31 +00:00
committed by Rūdolfs Ošiņš
parent 5f82eb894b
commit 64d7fbcf56
2 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -417,6 +417,13 @@
gap: 1.5rem;
width: 20rem;
}
.content {
display: flex;
flex: 1;
flex-direction: column;
gap: 1.5rem;
min-width: 25rem;
}
.threads {
display: flex;
@@ -460,7 +467,7 @@
<Layout {baseUrl} {project} activeTab="issues">
<div class="issue">
<div style="display: flex; flex: 1; flex-direction: column; gap: 1.5rem;">
<div class="content">
<CobHeader id={issue.id}>
<svelte:fragment slot="title">
{#if issueState !== "read"}
+7 -1
View File
@@ -585,6 +585,12 @@
font-size: var(--font-size-large);
height: 2.5rem;
}
.content {
display: flex;
flex: 1;
flex-direction: column;
min-width: 25rem;
}
.tabs {
display: flex;
margin: 3rem 0 1rem 0;
@@ -639,7 +645,7 @@
<Layout {baseUrl} {project} activeTab="patches">
<div class="patch">
<div style="display: flex; flex: 1; flex-direction: column;">
<div class="content">
<CobHeader id={patch.id}>
<svelte:fragment slot="title">
{#if patchState !== "read"}