Skip to content

Commit 10fcb12

Browse files
Merge pull request #37 from GitTimeraider/patch-1
Alias test again
2 parents 7758572 + a02863d commit 10fcb12

File tree

1 file changed

+43
-18
lines changed

1 file changed

+43
-18
lines changed

static/style.css

Lines changed: 43 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -674,35 +674,60 @@ input.error {
674674
}
675675
}
676676

677-
/* Dice icon button styling */
677+
.input-group {
678+
display: flex;
679+
align-items: stretch; /* Ensures all children have the same height */
680+
max-width: 100%;
681+
gap: 0; /* Remove any gap if present */
682+
}
683+
684+
.input-group input#alias {
685+
flex: 1 1 0;
686+
min-width: 0;
687+
max-width: 350px; /* or whatever max you want */
688+
width: 0;
689+
box-sizing: border-box;
690+
height: auto;
691+
margin: 0;
692+
}
693+
694+
.input-addon {
695+
display: flex;
696+
align-items: center;
697+
padding: 0 0.75rem;
698+
background: #f8f9fa;
699+
border: 1px solid #ddd;
700+
border-left: none;
701+
border-right: none;
702+
color: #666;
703+
border-radius: 0;
704+
height: auto;
705+
}
706+
678707
.dice-btn {
708+
display: flex;
709+
align-items: center;
679710
background: none;
680-
border: none;
681-
padding: 0 0.5em;
682-
margin-left: 0.25em;
711+
border: 1px solid #ddd;
712+
border-left: none;
713+
border-radius: 0 4px 4px 0;
714+
padding: 0 0.75em;
683715
font-size: 1.3em;
684716
cursor: pointer;
685717
color: #888;
686718
transition: color 0.2s;
687719
line-height: 1;
720+
height: auto;
688721
}
689722

690-
/* Remove background and outline on focus/active for dice button */
691-
.dice-btn:focus,
692-
.dice-btn:active {
693-
background: none !important;
694-
outline: none !important;
695-
box-shadow: none !important;
696-
}
697-
698-
.input-group {
723+
.form-row {
699724
display: flex;
700-
align-items: center;
725+
gap: 1rem;
726+
flex-wrap: wrap;
727+
align-items: flex-end;
701728
}
702729

703-
.input-group input#alias {
704-
width: 70% !important;
705-
flex: 2.2 1 0% !important;
730+
.form-group {
731+
flex: 1 1 250px;
706732
min-width: 200px;
707-
max-width: 100%;
708733
}

0 commit comments

Comments
 (0)