Skip to content

Commit

Permalink
fix: appbar absolute positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
SaadBazaz committed Aug 24, 2024
1 parent bb8cba0 commit 2818a14
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
7 changes: 7 additions & 0 deletions apps/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# index

## 0.1.19

### Patch Changes

- Updated dependencies
- [email protected]

## 0.1.18

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "index",
"version": "0.1.18",
"version": "0.1.19",
"private": true,
"packageManager": "[email protected]",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# material-web-react

## 0.3.14

### Patch Changes

- fix: appbar

## 0.3.13

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function Example() {
}
```

For a detailed reference on usage, you might want to check out the source code of the [NextJS demo](./apps/demo/src/app/page.tsx). It's simple!
For a detailed reference on usage, you might want to check out the source code of the [NextJS demo](https://github.com/grayhatdevelopers/material-web-components-react/blob/main/apps/demo/src/app/page.tsx). It's simple!

Under the hood, this library simply uses the official [@material/web](https://github.com/material-components/material-web/) components. Visit [the official Material Web Components docs](https://github.com/material-components/material-web/blob/main/docs/intro.md) to learn how to use those components. The props remain the same!

Expand Down Expand Up @@ -81,6 +81,6 @@ Thanks for improving the demo:

- [TalhaHere12](https://github.com/TalhaHere12)

Thanks for building BottomSheet:
Thanks for building BottomSheet and Snackbar:

- [Aroonaongithhub](https://github.com/Aroonaongithhub/)
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-web-components-react",
"version": "0.3.13",
"version": "0.3.14",
"author": "Grayhat Team",
"type": "module",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/app-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const AppBar = ({
<div
id="headline"
className={twMerge(
"absolute left-1/2 transform -translate-x-1/2 flex items-center gap-2 text-lg transition-all", // Changed this line
"flex items-center gap-2 text-lg transition-all", // Changed this line
_variant === "center-aligned" && "text-center",
(_variant === "small" ||
_variant === "medium" ||
Expand Down

0 comments on commit 2818a14

Please sign in to comment.