Comments (9)
heres a quick fix for anyone with same problem.
first, create a css file in public/css/fix-avatar-mobile.css
with this content:
@media (max-width: 992px) {
.h-header {
z-index: 20 !important;
}
.h-header .dropdown-trigger {
margin: auto !important;
width: 2rem !important;
}
}
then in your app/Providers/NovaServiceProvider.php
class, add this Nova::style
this to the boot method:
public function boot()
{
parent::boot();
Nova::style('fix-avatar-mobile', asset('css/fix-avatar-mobile.css'));
}
then just refresh the page, and the avatar position will be fixed on mobile.
from laravel-nova-theme-responsive.
I put the following in a custom SCSS file to fix this issue:
#nova {
.h-header {
z-index: 20;
.dropdown-trigger {
margin-right: 0;
width: 2.25rem;
@media all and (min-width: 993px) {
width: auto;
}
}
}
}
I'll try and extrapolate it out into a PR once I've done some more testing.
from laravel-nova-theme-responsive.
Sorry, I don't have an iPhone 11 to test it right now.
If anyone can found a fix, please send a PR.
Thanks!
from laravel-nova-theme-responsive.
There is also a cutoff/overlap when used in conjunction with the nova notifications package Nova Notifications
from laravel-nova-theme-responsive.
Icon has no margin/padding and touches the window's edge on Chrome Version 96.0.4664.45 (Official Build) (64-bit)
from laravel-nova-theme-responsive.
I found the culprit here
laravel-nova-theme-responsive/resources/css/theme.css
Lines 153 to 155 in 8285a26
What's the reason for it?
from laravel-nova-theme-responsive.
+1 same issue here
from laravel-nova-theme-responsive.
@diontron perfect!
from laravel-nova-theme-responsive.
Sorry everyone, but unfortunately I don't have time to maintain this package anymore, and with the new Nova 4 release the package is no longer needed,
Feel free to fork it, fix the bug and use it in your projects if you need it.
I have added a deprecation notice to the package's Readme.
Thank you and sorry again.
from laravel-nova-theme-responsive.
Related Issues (20)
- Hide columns on mobile HOT 4
- Problem with Tabs HOT 4
- Unable to close mobile menu on iOS / mobile Safari HOT 7
- sidebar dont scroll HOT 1
- Modal z-index HOT 3
- Broke pagination? HOT 1
- Resource lists are to wide between 992 and 1280px HOT 3
- Please make attach button responsive too. HOT 3
- How create responsive CRUD table? HOT 1
- Many filters are displayed incorrectly HOT 2
- Problem with filter HOT 2
- Not responsive on showCreateRelationButton modal HOT 5
- Currency field not rendering properly HOT 8
- enhancement HOT 1
- problem with RTL HOT 1
- Logo gone HOT 1
- Lost theme when changing path... HOT 1
- Inline forms are not responsive HOT 2
- Sidebar doesn't scroll HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-nova-theme-responsive.