Skip to content

Commit

Permalink
Fix responsiveness fail x overflow hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 24, 2024
1 parent 3a650a6 commit 2768719
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions app/Livewire/PriceCalculator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function showPriceModal(): void
'word_count' => 'required|numeric|min:1',
'deadline' => 'required|date|after:today'
]);

$this->calculatePrice();
$this->showModal = true;
$this->dispatch('toggleModal', true);
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/logged-out.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<html class="w-full overflow-x-hidden" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down Expand Up @@ -49,7 +49,7 @@
<meta name="robots" content="index, follow">

</head>
<body class="font-sans text-black/80 min-h-screen flex justify-between flex-col bg-gray-50 antialiased">
<body class="font-sans text-black/80 w-full overflow-x-hidden min-h-screen flex justify-between flex-col bg-gray-50 antialiased">
@include('layouts.navigation.logged-out')
@include('session.alerts')
{{ $slot }}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/layouts/navigation/logged-out.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<nav class="bg-gray-100">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-4">
<nav class="bg-gray-100 w-full overflow-x-hidden">
<div class="px-4 sm:px-6 lg:px-8 py-4">
<div class="flex justify-between items-center">
<div class="flex items-center gap-2">
<x-application-logo class="h-8"/>
Expand Down
6 changes: 2 additions & 4 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
Home - Premium Essay Writing Services for College Students
</x-slot>
<div class="bg-gray-50">
<div class="container mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="py-12 px-4 sm:px-6 lg:px-8">
<div class="flex px-1 sm:px-4 lg:px-8 flex-col md:flex-row items-center justify-between">
<div class="text-center sm:w-2/3 relative md:text-left">
<img src="{{ asset('images/svg2.png') }}" alt="Hero"
class="w-64 hidden -top-16 opacity-50 right-0 absolute rounded-lg">
<div class="top-0 left-0 w-full h-full flex flex-col justify-center">
<section class="mb-4 text-left">
<header class="mb-4">
Expand Down Expand Up @@ -42,7 +40,7 @@ class="bg-blue-500 text-white/90 hover:bg-blue-600 font-semibold py-2 pl-2 round
</div>
</div>
</div>
<div class="mt-8 p-4 md:mt-0">
<div class="mt-8 md:mt-0">
<livewire:PriceCalculator/>
</div>
</div>
Expand Down

0 comments on commit 2768719

Please sign in to comment.