summaryrefslogtreecommitdiffstats
path: root/web_src/css/repo/list-header.css
blob: 4440bba8df625894058b9f006afa6b8ff923c209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.list-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.list-header-sort {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.list-header-search {
  display: flex;
  flex: 1;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 200px; /* to enable flexbox wrapping on mobile */
}

.list-header-search .input {
  flex: 1;
}

@media (max-width: 767.98px) {
  .list-header-search {
    order: 0;
  }
  .list-header-toggle {
    order: 1;
  }
  .list-header-sort {
    order: 2;
    margin-left: auto;
  }
}