IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mise en page CSS Discussion :

Scrollbar fixé en bas d'écran


Sujet :

CSS

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    189
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2008
    Messages : 189
    Points : 79
    Points
    79
    Par défaut Scrollbar fixé en bas d'écran
    Salut !!

    j'ai réaliser un tableau Kanban avec Tailwindcss j'ai une scrollbar en bas de ce tableau mais j'aimerais pouvoir gérer cette scrollbar sans avoir besoin de scroller vers le bas pour y avoir accès et donc l'avoir tout le temps en bas de l'écran

    sur cette image on voit le tableau kanban sans la barre

    Nom : kanbanscroll1.PNG
Affichages : 162
Taille : 27,4 Ko

    et sur cette image on voit la barre en bas de ce tableau

    Nom : kanbanscroll2.PNG
Affichages : 134
Taille : 10,0 Ko

    et donc j'aimerais voir la barre tout le temps...

    voici le code de mon tableau (il est pas dynamique pour le moment)

    Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    <div class="w-full shadow pb-4">
                    <div class="flex flex-col sm:flex-row bg-ppl text-white sm:h-20 items-center pt-4 pb-6 px-6 mb-6 w-full">
                        <div>
                            <h2 class="text-xl xl:text-3xl">Tableau de tâches</h2>
                        </div>
                    </div>
                    <div class="overflow-x-auto overflow-y-hidden"  v-dragscroll>
                        <div class="inline-block min-w-full overflow-x-visible overflow-y-auto">
                            <div class="flex flex-row w-full min-w-full leading-normal">
                                <div class="flex bg-blueL flex-col shadow-md p-6 mx-4 my-2" style='height:min-content; width: 20rem;'>
                                    <div class="flex flex-row justify-between items-center mb-4">
                                        <a href="#">
                                            <svg class="h-4 w-4" fill="#490A7D" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 42 42" style="enable-background:new 0 0 42 42;" xml:space="preserve"><path d="M37.059,16H26V4.941C26,2.224,23.718,0,21,0s-5,2.224-5,4.941V16H4.941C2.224,16,0,18.282,0,21s2.224,5,4.941,5H16v11.059 C16,39.776,18.282,42,21,42s5-2.224,5-4.941V26h11.059C39.776,26,42,23.718,42,21S39.776,16,37.059,16z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
                                        </a>
                                        <h3 class="text-xl font-bold txt-ppl">A Prevoir <span class="font-light">2</span></h3>
                                        <dot-drop-down></dot-drop-down>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-red"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-red"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-red"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-red"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                </div>
                                <div class="flex flex-col bg-blueL shadow-md p-6 mx-4 my-2" style='height:min-content; width: 20rem;'>
                                    <div class="flex flex-row justify-between items-center mb-4">
                                        <a href="#">
                                            <svg class="h-4 w-4" fill="#490A7D" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 42 42" style="enable-background:new 0 0 42 42;" xml:space="preserve"><path d="M37.059,16H26V4.941C26,2.224,23.718,0,21,0s-5,2.224-5,4.941V16H4.941C2.224,16,0,18.282,0,21s2.224,5,4.941,5H16v11.059 C16,39.776,18.282,42,21,42s5-2.224,5-4.941V26h11.059C39.776,26,42,23.718,42,21S39.776,16,37.059,16z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
                                        </a>
                                        <h3 class="text-xl font-bold txt-ppl">A Faire <span class="font-light">1</span></h3>
                                        <dot-drop-down></dot-drop-down>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                </div>
                                <div class="flex flex-col bg-blueL shadow-md p-6 mx-4 my-2" style='height:min-content; width: 20rem;'>
                                    <div class="flex flex-row justify-between items-center mb-4">
                                        <a href="#">
                                            <svg class="h-4 w-4" fill="#490A7D" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 42 42" style="enable-background:new 0 0 42 42;" xml:space="preserve"><path d="M37.059,16H26V4.941C26,2.224,23.718,0,21,0s-5,2.224-5,4.941V16H4.941C2.224,16,0,18.282,0,21s2.224,5,4.941,5H16v11.059 C16,39.776,18.282,42,21,42s5-2.224,5-4.941V26h11.059C39.776,26,42,23.718,42,21S39.776,16,37.059,16z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
                                        </a>
                                        <h3 class="text-xl font-bold txt-ppl">En cours <span class="font-light">2</span></h3>
                                        <dot-drop-down></dot-drop-down>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-red"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-orange"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                </div>
                                <div class="flex flex-col bg-blueL shadow-md p-6 mx-4 my-2" style='height:min-content; width: 20rem;'>
                                    <div class="flex flex-row justify-between items-center mb-4">
                                        <a href="#">
                                            <svg class="h-4 w-4" fill="#490A7D" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 42 42" style="enable-background:new 0 0 42 42;" xml:space="preserve"><path d="M37.059,16H26V4.941C26,2.224,23.718,0,21,0s-5,2.224-5,4.941V16H4.941C2.224,16,0,18.282,0,21s2.224,5,4.941,5H16v11.059 C16,39.776,18.282,42,21,42s5-2.224,5-4.941V26h11.059C39.776,26,42,23.718,42,21S39.776,16,37.059,16z"/><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
                                        </a>
                                        <h3 class="text-xl font-bold txt-ppl">Terminé <span class="font-light">1</span></h3>
                                        <dot-drop-down></dot-drop-down>
                                    </div>
                                    <div class="flex flex-col  p-4 shadow my-2 bg-white">
                                        <div class="flex flex-row my-2">
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-orange"></span>
                                            <span class="w-4 h-1 rounded-full mx-1 inline-flex bg-green"></span>
                                        </div>
                                        <div class="flex flex-row">
                                            <div class="mx-2 txt-grayLightProj">
                                                20h
                                            </div>
                                            <div class="flex flex-col items-start mx-2">
                                                <h3 class="text-lg font-bold mb-1" >Lorem ipsum dolor</h3>
                                                <h4 class="text-lg mb-1" >Lorem ipsum dolor sit amet.</h4>
                                                <p class="text-left txt-grayLightProj">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus eveniet exercitationem illo sapiente voluptatem voluptates.</p>
                                            </div>
                                            <dot-drop-down></dot-drop-down>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

  2. #2
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Octobre 2020
    Messages
    36
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Octobre 2020
    Messages : 36
    Points : 67
    Points
    67
    Par défaut
    Salutations,
    Si je comprends bien ton problème il faut que tu joues avec la propriété overflow-x et max-width sur le conteneur ou tu souhaites voir apparaitre la barre.

    j'ai fais un rapide codepen pour l'occasion
    https://codepen.io/barbgegrasse/pen/MWeYopN

    Développeur freelance à Toulouse - site en construction

  3. #3
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    189
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2008
    Messages : 189
    Points : 79
    Points
    79
    Par défaut
    Merci pour ta réponse

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. scrollbar toujours en bas
    Par arnaudperfect dans le forum Général JavaScript
    Réponses: 5
    Dernier message: 10/07/2008, 11h43
  2. une Image fixe en bas a gauche de ma page?
    Par shantee dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 01/10/2007, 15h09
  3. Savoir si une scrollbar est en bas
    Par cerede2000 dans le forum Général JavaScript
    Réponses: 13
    Dernier message: 23/05/2007, 19h42
  4. Lignes fixes en bas d'un TStringGrid
    Par User dans le forum Delphi
    Réponses: 5
    Dernier message: 15/04/2007, 21h57
  5. scrollbar toujours en bas
    Par dams78 dans le forum GTK+ avec C & C++
    Réponses: 9
    Dernier message: 02/02/2006, 11h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo