mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-22 02:23:57 +00:00
fix: tweak dialogue, patch item, contributors ui
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
transition:fade={{ easing: quadInOut, duration: 150 }}
|
||||
>
|
||||
<div class="top">
|
||||
<div class="title">
|
||||
<div class="title" class:hasIcon={$$slots.icon}>
|
||||
{#if fullscreen}
|
||||
<button on:click={() => (modalOpen = !modalOpen)}>
|
||||
<img src="../icons/back.svg" id="back" alt="back" />
|
||||
@@ -69,7 +69,6 @@
|
||||
.title {
|
||||
position: sticky;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
top: 0;
|
||||
@@ -79,6 +78,10 @@
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.hasIcon {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
width: min(85%, 425px);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
let _title: string = "";
|
||||
$: title = _title === "" ? "ReVanced" : `ReVanced | ${_title}`;
|
||||
$: title = _title === "" ? "ReVanced" : `ReVanced · ${_title}`;
|
||||
|
||||
export { _title as title };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user