Giter Site home page Giter Site logo

Comments (13)

rictorres avatar rictorres commented on June 28, 2024

#36

from swipebox.

rictorres avatar rictorres commented on June 28, 2024

I'll try to make a PR for this very soon :)

from swipebox.

nilnilnull avatar nilnilnull commented on June 28, 2024

thank you!

from swipebox.

brutaldesign avatar brutaldesign commented on June 28, 2024

A fix for that would be nice! thx rictorres.

from swipebox.

networksolution avatar networksolution commented on June 28, 2024

Simply move the close button upper right will solve.

Dr. Marco Marsala
Network Solution
http://www.genovaperte.it (showing the problem)

from swipebox.

niggel84 avatar niggel84 commented on June 28, 2024

minimal-ui has been added for the viewport meta tag key that allows minimizing the top and bottom bars on the iPhone as the page loads. While on a page using minimal-ui, tapping the top bar brings the bars back. Tapping back in the content dismisses them again.

It is a new feature in iOS 7.1

It works!

from swipebox.

PhilippSchreiber avatar PhilippSchreiber commented on June 28, 2024

@niggel84 and what about iOS 7.0?! That's not really a solution.

from swipebox.

niggel84 avatar niggel84 commented on June 28, 2024

@PhilippSchreiber yeah thats true...its a workaround

i think 90% (or more) of all apple users update their devices >= Iphone 4.

from swipebox.

networksolution avatar networksolution commented on June 28, 2024

Yes, it would be better to move the X upper right, but in the meantime this is an excellent workaround

from swipebox.

PhilippSchreiber avatar PhilippSchreiber commented on June 28, 2024

Yeah alright, I'm one of the 10% ;)

Here is a working solution for moving the controls up and the caption down (including styling fixes with the borders):

#swipebox-action {
    top: -50px;
}

#swipebox-action.visible-bars {
    top: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#swipebox-caption {
    top: auto;
    bottom: -50px;
}

#swipebox-caption.visible-bars {
    top: auto;
    bottom: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

from swipebox.

niggel84 avatar niggel84 commented on June 28, 2024

@PhilippSchreiber
yeah thx for this....but it is a little bit buggy.

  1. title tag is behind the toolbar
  2. if you start the swipebox with the "big" URL field --> see picture

foto

from swipebox.

PhilippSchreiber avatar PhilippSchreiber commented on June 28, 2024

@niggel84 you are right, I used an outdated version of swipebox for my fix. Here is a working css code for the current version:

#swipebox-action {
    top: -50px;
    bottom: auto;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#swipebox-action.visible-bars {
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    -o-transform: translateY(50px);
    transform: translateY(50px);
}

#swipebox-caption {
    top: auto;
    bottom: -50px;
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#swipebox-caption.visible-bars {
    -webkit-transform: translateY(-50px);
    -moz-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    -o-transform: translateY(-50px);
    transform: translateY(-50px);
}

from swipebox.

niggel84 avatar niggel84 commented on June 28, 2024

@PhilippSchreiber
nice...it works perfect....thx :)

from swipebox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.