-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Framework version 1.0.116 + horizontal Ladder card min height + recap…
… card empty fix
- Loading branch information
1 parent
2871f9a
commit fd87efd
Showing
6 changed files
with
106 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1172,7 +1172,7 @@ | |
text-center | ||
; | ||
|
||
> * { | ||
> *:not(i):not(span) { | ||
&:is(:empty) { | ||
@apply | ||
hidden | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"name": "@g-loot/css-framework", | ||
"version": "1.0.115" | ||
"version": "1.0.116" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
import React from "react"; | ||
import Structure from "../components/Structure"; | ||
import { usePrototypeData } from "@/contexts/prototype"; | ||
import TopbarHighlights from "../components/TopbarHighlights"; | ||
|
||
export default function DemoHighlightManager() { | ||
const prototype = usePrototypeData(); | ||
return ( | ||
<> | ||
<Structure title="Profile" hiddenUI={true}></Structure> | ||
<Structure title="Profile" hiddenUI={true}> | ||
<section className="max-w-lg mx-auto p-4 flex flex-col md:flex-row items-start justify-center"> | ||
<div className="flex-none w-full md:w-72 surface rounded p-2 order-2 md:order-1"> | ||
<div className="form-group"> | ||
<div className="form-toggle form-full"> | ||
<input | ||
type="checkbox" | ||
name="feed" | ||
id="state-premium" | ||
defaultChecked={prototype.isPremium} | ||
onClick={() => prototype.togglePremium()} | ||
/> | ||
<label htmlFor="state-premium">Premium State</label> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="order-2 md:order-1 flex-1 flex md:justify-end md:items-start min-h-12"> | ||
<TopbarHighlights isStatic={true} /> | ||
</div> | ||
</section> | ||
</Structure> | ||
|
||
<section className="absolute inset-0 p-4 flex items-center justify-center"> | ||
<div className="w-full max-w-xl flex justify-end items-start h-[calc(80dvh)]"> | ||
<TopbarHighlights /> | ||
</div> | ||
</section> | ||
</> | ||
); | ||
} |