Tag mass action layout updated

This commit is contained in:
Simounet 2023-08-31 22:04:19 +02:00
parent ec4d23b584
commit 2d7d16ee6c
No known key found for this signature in database
GPG key ID: 77D3B7DC794EB770
4 changed files with 41 additions and 8 deletions

View file

@ -20,13 +20,14 @@
.mass-action-group {
display: flex;
padding: 3px;
gap: 10px;
align-items: center;
gap: 30px;
}
.mass-action-button {
height: 24px;
line-height: 24px;
padding: 0 0.5rem;
height: 36px;
line-height: 36px;
padding: 0 0.7rem;
i {
font-size: 1rem;
@ -64,11 +65,19 @@
.mass-action-tags {
display: flex;
margin-top: 10px;
align-items: center;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
.mass-action-tags-input {
.mass-action-tags-input.mass-action-tags-input {
margin: 0;
min-width: 230px;
}
.mass-action-tags-button {
white-space: nowrap;
}
}
@ -173,9 +182,33 @@ footer {
}
@media screen and (min-width: 993px) {
.mass-action-button {
height: 24px;
line-height: 24px;
padding: 0 0.5rem;
}
.mass-action-group {
gap: 10px;
}
.mass-action-tags {
margin-top: 0;
flex-wrap: initial;
}
.mass-action {
display: flex;
align-items: center;
gap: 30px;
.mass-action-tags-button {
line-height: 2;
}
.mass-action-tags-input.mass-action-tags-input,
.mass-action-tags-button {
height: 2rem;
}
}
}

View file

@ -59,7 +59,7 @@
<input id="mass-action-tags-displayed" class="toggle-checkbox" type="checkbox" />
<div class="mass-action-tags">
<input type="text" class="mass-action-tags-input" name="tags" placeholder="{{ 'entry.list.mass_action_tags_input_placeholder'|trans }}" />
<button class="btn cyan darken-1" type="submit" name="tag">{{ 'entry.list.add_tags'|trans }}</button>
<button class="btn cyan darken-1 mass-action-tags-button" type="submit" name="tag">{{ 'entry.list.add_tags'|trans }}</button>
</div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long