feat: restyle unauthenticated screens #1103
|
@ -49,7 +49,7 @@ const motd = computed(() => store.state.config.motd)
|
|||
width: 100%;
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
min-height: 60vh;
|
||||
display: flex;
|
||||
background: var(--white);
|
||||
background-color: var(--white);
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
Why overflow: hidden? Why overflow: hidden?
konrad
commented
To prevent the background from overflowing in the (rounded) corners. To prevent the background from overflowing in the (rounded) corners.
|
||||
border-radius: $radius;
|
||||
box-shadow: var(--shadow-md);
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
Use mobile first:
=> no need to reset the border-radius for mobile Use mobile first:
```scss
@media screen and (min-width: $desktop) {
border-radius: $radius;
}
```
=> no need to reset the border-radius for mobile
|
||||
overflow: hidden;
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
Just checked this: The llama is so nice, it's too bad it's not visivle on mobile. How about adding a padding-bottom for mobile? Just checked this: The llama is so nice, it's too bad it's not visivle on mobile. How about adding a padding-bottom for mobile?
|
||||
|
|
Reference in New Issue
Picky:
Use
background-color
=> more specific, doesn't change other values if they are set (they are not in this case). Makes it easier to overwrite if necessary.