Skip to content

Commit 2818a14

Browse files
committed
fix: appbar absolute positioning
1 parent bb8cba0 commit 2818a14

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

apps/demo/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# index
22

3+
## 0.1.19
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
9+
310
## 0.1.18
411

512
### Patch Changes

apps/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "index",
3-
"version": "0.1.18",
3+
"version": "0.1.19",
44
"private": true,
55
"packageManager": "[email protected]",
66
"scripts": {

packages/ui/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# material-web-react
22

3+
## 0.3.14
4+
5+
### Patch Changes
6+
7+
- fix: appbar
8+
39
## 0.3.13
410

511
### Patch Changes

packages/ui/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function Example() {
3434
}
3535
```
3636

37-
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!
37+
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!
3838

3939
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!
4040

@@ -81,6 +81,6 @@ Thanks for improving the demo:
8181

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

84-
Thanks for building BottomSheet:
84+
Thanks for building BottomSheet and Snackbar:
8585

8686
- [Aroonaongithhub](https://github.com/Aroonaongithhub/)

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "material-web-components-react",
3-
"version": "0.3.13",
3+
"version": "0.3.14",
44
"author": "Grayhat Team",
55
"type": "module",
66
"keywords": [

packages/ui/src/app-bar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const AppBar = ({
117117
<div
118118
id="headline"
119119
className={twMerge(
120-
"absolute left-1/2 transform -translate-x-1/2 flex items-center gap-2 text-lg transition-all", // Changed this line
120+
"flex items-center gap-2 text-lg transition-all", // Changed this line
121121
_variant === "center-aligned" && "text-center",
122122
(_variant === "small" ||
123123
_variant === "medium" ||

0 commit comments

Comments
 (0)