mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Allow to use a selection for name titles
This commit is contained in:
@@ -416,11 +416,11 @@ table td > .checkbox input[type="checkbox"] {
|
||||
@media(max-width: $screen-xs-max) {
|
||||
.nameparts-form-group {
|
||||
display: block;
|
||||
input:not(:first-child) {
|
||||
input:not(:first-child), select:not(:first-child) {
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
input:not(:last-child) {
|
||||
input:not(:last-child), select:not(:last-child) {
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
@@ -430,32 +430,32 @@ table td > .checkbox input[type="checkbox"] {
|
||||
.nameparts-form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
input {
|
||||
input, select {
|
||||
width: auto;
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
input:not(:first-child) {
|
||||
input:not(:first-child), select:not(:first-child) {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
input:not(:last-child) {
|
||||
input:not(:last-child), select:not(:last-child) {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
input[data-size="1"] {
|
||||
[data-size="1"] {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 4;
|
||||
}
|
||||
input[data-size="2"] {
|
||||
[data-size="2"] {
|
||||
flex-grow: 2;
|
||||
flex-shrink: 3;
|
||||
}
|
||||
input[data-size="3"] {
|
||||
[data-size="3"] {
|
||||
flex-grow: 3;
|
||||
flex-shrink: 2;
|
||||
}
|
||||
input[data-size="4"] {
|
||||
[data-size="4"] {
|
||||
flex-grow: 4;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user