Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit 495e068

Browse files
Merge pull request #13 from code-kern-ai/long-embedding-names-break-modal
Long embedding names that break modal for zero-shot fixed
2 parents d2bef45 + cdeb9e6 commit 495e068

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/weak-supervision/components/weak-supervision/weak-supervision.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ <h1 class="text-lg text-gray-900 mb-2 text-center">Last Weak
384384
<input type="checkbox" id="zero-shot-modal" class="modal-toggle">
385385

386386
<div class="modal">
387-
<div class="modal-box text-black bg-white justify-center">
387+
<div class="modal-box text-black bg-white justify-center max-w-4/5 min-w-1/2" style="width: fit-content">
388388
<h1 class="text-lg text-gray-900 mb-2 text-center mb-4">Add new zero shot classification</h1>
389389

390390
<div *ngIf="attributes && labelingTasksClassification"

tailwind.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ module.exports = {
114114
"xxs": "9rem",
115115
"xs-1": "250px",
116116
...defaultTheme.maxWidth,
117+
"4/5": "80%"
118+
},
119+
minWidth: {
120+
"1/2": "50%"
117121
},
118122
lineHeight: {
119123
'12': '3rem',

0 commit comments

Comments
 (0)