Coder Social home page Coder Social logo

floating newentry_form about plugin-blog HOT 5 OPEN

qwertologe avatar qwertologe commented on August 16, 2024
floating newentry_form

from plugin-blog.

Comments (5)

qwertologe avatar qwertologe commented on August 16, 2024

I can achieve my preferred result with conf/userstyle.css:

div.dokuwiki div.newentry_form {
  float: left;
  clear: inherit;
}
div.dokuwiki div.newentry_form fieldset, div.dokuwiki div.newentry_form input.edit {
  width: 300px !important;
  max-width: 100% !important;
}

... but i am not sure if there are side effects...

from plugin-blog.

michitux avatar michitux commented on August 16, 2024

I've just removed the clear flag as I agree that it is really ugly with table of contents. I could imagine that in older versions of the plugin where the table of contents of the blog pages were not displayed this made more sense.

I'm not totally sure if this is the best solution as now if you put some floating images before the blog listing they will float to the side of the form and even to the side of the blog entries. But on the other hand if you have such a floating image it did already float to the side of the blog entries when you have no permission to create pages so I think this is only consistent with the existing behavior.

from plugin-blog.

qwertologe avatar qwertologe commented on August 16, 2024

@michitux Without width: 300px !important; it was too wide (normal Debian PC FullHD, standard layout/template) and the problem persisted. I think, 380 was small enough, but is was too wide for Android / Chrome with 6" FullHD in vertical mode. With 300 all was fine.

from plugin-blog.

michitux avatar michitux commented on August 16, 2024

Which template are you using? Can you provide a screenshot of what you mean with too wide?

from plugin-blog.

qwertologe avatar qwertologe commented on August 16, 2024

Standard Template. Sorry, but i can't reproduce the move down again - don't know why. But the problem with Android/Chrome ...

/* userstyle.css */
#dokuwiki__aside .content {
  font-size: 115%;
}
#dokuwiki__aside .toggle {
  font-size: 140% !important;
}

div.dokuwiki div.newentry_form {
  float: left;
  clear: inherit;
}
div.dokuwiki div.newentry_form fieldset, div.dokuwiki div.newentry_form input.edit {
  width: 300px !important;
  max-width: 100% !important;
}

Pic1: Android/Chrome Smartphone 6" FullHD with 300px!:
Pic2: without
with300
without300

from plugin-blog.

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.