mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
More CSS fixes
This commit is contained in:
parent
1ef724c4c1
commit
10d360fd42
@ -81,6 +81,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
border: 0.3em black solid;
|
border: 0.3em black solid;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
--course-width: min(3em, calc(7 * var(--vmin, 1vmin)));
|
||||||
}
|
}
|
||||||
|
|
||||||
.song-search-result::before {
|
.song-search-result::before {
|
||||||
@ -99,15 +100,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.song-search-result-info {
|
.song-search-result-info {
|
||||||
flex: 10;
|
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin: 0.3em;
|
padding: 0.3em 0.3em 0.3em 0.5em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
padding-left: 0.2em;
|
overflow-x: hidden;
|
||||||
overflow-x: clip;
|
width: calc(100% - (var(--course-width) + 0.4em) * 5 - 0.6em);
|
||||||
}
|
}
|
||||||
|
|
||||||
.song-search-result-subtitle {
|
.song-search-result-subtitle {
|
||||||
@ -124,8 +124,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.song-search-result-course {
|
.song-search-result-course {
|
||||||
flex: 1;
|
width: var(--course-width);
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0.2em;
|
margin: 0.2em;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
Loading…
Reference in New Issue
Block a user