Use fixed width for archive download button

This commit is contained in:
FooIbar committed 2025-07-19 21:48:35 +08:00
1 parent 1cdd51de21
commit ae4d3b2d65
1 file changed
+2 -1
@@ -5,6 +5,7 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.GridItemSpan
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
@@ -102,7 +103,7 @@ private fun ArchiveItem(
text = cost,
style = labelStyle,
)
Button(onClick = onClick, shapes = ButtonDefaults.shapes()) {
Button(onClick = onClick, shapes = ButtonDefaults.shapes(), modifier = Modifier.width(100.dp)) {
Text(text = name)
}
Text(