This commit is contained in:
parent
da7d75641d
commit
81f86acc7b
7 changed files with 148 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
let HOST = 'http://localhost:1225'
|
||||
let HOST = '' //blank for same-origin
|
||||
|
||||
document.addEventListener("alpine:init", () => {
|
||||
Alpine.store("dictionary", {
|
||||
|
|
|
|||
|
|
@ -26,18 +26,6 @@
|
|||
--shadow-lg: 0 4px 8px var(--color-shadow);
|
||||
}
|
||||
|
||||
/* Small devices (portrait tablets and large phones, 600px and up) */
|
||||
@media (max-width: 600px) {
|
||||
.cards-container {
|
||||
grid-template-columns: 1fr;
|
||||
background-color: #fb0;
|
||||
}
|
||||
|
||||
.is-expanded {
|
||||
grid-row: span 1;
|
||||
grid-column: span 1;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
|
|
@ -384,3 +372,19 @@ button:disabled{
|
|||
color: var(--color-text-secondary);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
/* Small devices (portrait tablets and large phones, 600px and up) */
|
||||
@media (max-width: 600px) {
|
||||
.cards-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue