Slightly improve header test

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-03-09 20:16:13 +05:30
parent 8c8af56e67
commit 81bf27c13e
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 2 additions and 2 deletions

View file

@ -2,8 +2,8 @@ package dev.msfjarvis.lobsters.ui.posts
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.asAndroidBitmap
@ -28,7 +28,7 @@ class HeaderTest : ScreenshotTest {
modifier = Modifier
.background(color = Color(0xffffff))
.fillMaxWidth()
.fillMaxHeight(),
.wrapContentHeight(),
) {
MonthHeader(month = Month.AUGUST)
}