Skip to content

Commit c9302c9

Browse files
Merge pull request #38 from GitTimeraider/revert-37-patch-1
Revert "Alias test again"
2 parents 10fcb12 + 1d55578 commit c9302c9

File tree

1 file changed

+18
-43
lines changed

1 file changed

+18
-43
lines changed

static/style.css

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

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-
677+
/* Dice icon button styling */
707678
.dice-btn {
708-
display: flex;
709-
align-items: center;
710679
background: none;
711-
border: 1px solid #ddd;
712-
border-left: none;
713-
border-radius: 0 4px 4px 0;
714-
padding: 0 0.75em;
680+
border: none;
681+
padding: 0 0.5em;
682+
margin-left: 0.25em;
715683
font-size: 1.3em;
716684
cursor: pointer;
717685
color: #888;
718686
transition: color 0.2s;
719687
line-height: 1;
720-
height: auto;
721688
}
722689

723-
.form-row {
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 {
724699
display: flex;
725-
gap: 1rem;
726-
flex-wrap: wrap;
727-
align-items: flex-end;
700+
align-items: center;
728701
}
729702

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

0 commit comments

Comments
 (0)